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