source: trunk/src/main/java/omq/client/annotation/MultiMethod.java @ 82

Last change on this file since 82 was 82, checked in by stoda, 11 years ago

I've done some javadocs...

File size: 503 bytes
Line 
1package omq.client.annotation;
2
3import java.lang.annotation.ElementType;
4import java.lang.annotation.Retention;
5import java.lang.annotation.RetentionPolicy;
6import java.lang.annotation.Target;
7
8@Retention(RetentionPolicy.RUNTIME)
9@Target(ElementType.METHOD)
10public @interface MultiMethod {
11        /**
12         * If @MultiMethod is followed by @SyncMethod waitNum indicates how many
13         * responses we will wait for.
14         *
15         * @return length of the array of responses we are waiting for.
16         */
17        int waitNum() default 1;
18}
Note: See TracBrowser for help on using the repository browser.