Changeset 82 for trunk/src/main/java/omq/client/annotation/SyncMethod.java
- Timestamp:
- 07/05/13 16:51:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/client/annotation/SyncMethod.java
r44 r82 17 17 @Target(ElementType.METHOD) 18 18 public @interface SyncMethod { 19 /** 20 * Timeout of a synchronous method 21 * 22 * @return how long we'll wait for a response 23 */ 19 24 long timeout() default 60000L; 20 25 26 /** 27 * Number of retries of a synchronous method 28 * 29 * @return how many retries we'll make. If the timeout is set, every timeout 30 * will use it 31 */ 21 32 int retry() default 1; 22 33 }
Note: See TracChangeset
for help on using the changeset viewer.