Ignore:
Timestamp:
07/05/13 16:51:11 (11 years ago)
Author:
stoda
Message:

I've done some javadocs...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/omq/client/annotation/SyncMethod.java

    r44 r82  
    1717@Target(ElementType.METHOD)
    1818public @interface SyncMethod {
     19        /**
     20         * Timeout of a synchronous method
     21         *
     22         * @return how long we'll wait for a response
     23         */
    1924        long timeout() default 60000L;
    2025
     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         */
    2132        int retry() default 1;
    2233}
Note: See TracChangeset for help on using the changeset viewer.