Package org.redisson.api.annotation
Annotation Type RRemoteAsync
-
@Target(TYPE) @Retention(RUNTIME) public @interface RRemoteAsync
Annotation used to mark interface as asynchronous client interface for remote service interface.All method signatures must match with remote service interface, but return type must be
org.redisson.api.RFuture
.It's not necessary to add all methods from remote service. Add only those which are needed.
- Author:
- Nikita Koksharov
- See Also:
RFuture
-
-
Element Detail
-
value
Class<?> value
Remote interface class used to register- Returns:
- class used to register
-
-