Changeset 58 for trunk/src/main/java/omq/common
- Timestamp:
- 06/25/13 16:38:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/common/message/Request.java
r55 r58 16 16 17 17 private transient boolean multi; 18 private transient int wait; 18 19 private transient long timeout; 19 20 private transient int retries; … … 47 48 } 48 49 49 public static Request newSyncRequest(String id, String method, Object[] params, int retries, long timeout, boolean multi ) {50 public static Request newSyncRequest(String id, String method, Object[] params, int retries, long timeout, boolean multi, int wait) { 50 51 Request req = new Request(id, method, false, params, multi); 51 52 req.setRetries(retries); 52 53 req.setTimeout(timeout); 54 req.setWait(wait); 53 55 return req; 54 56 } … … 113 115 this.multi = multi; 114 116 } 117 118 public int getWait() { 119 return wait; 120 } 121 122 public void setWait(int wait) { 123 this.wait = wait; 124 } 115 125 }
Note: See TracChangeset
for help on using the changeset viewer.