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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Remote interface class used to register
  • Element Details

    • value

      Class<?> value
      Remote interface class used to register
      Returns:
      class used to register