Package org.redisson.remote
Class AsyncRemoteProxy
java.lang.Object
org.redisson.remote.BaseRemoteProxy
org.redisson.remote.AsyncRemoteProxy
- Direct Known Subclasses:
ReactiveRemoteProxy
,RxRemoteProxy
- Author:
- Nikita Koksharov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAsyncRemoteProxy
(CommandAsyncExecutor commandExecutor, String name, String responseQueueName, ConcurrentMap<String, ResponseEntry> responses, Codec codec, String executorId, String cancelRequestMapName, BaseRemoteService remoteService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
awaitResultAsync
(RemoteInvocationOptions optionsCopy, RemotePromise<Object> result, CompletionStage<RRemoteServiceResponse> responseFuture) protected Object
convertResult
(RemotePromise<Object> result, Class<?> returnType) <T> T
create
(Class<T> remoteInterface, RemoteInvocationOptions options, Class<?> syncInterface) Methods inherited from class org.redisson.remote.BaseRemoteProxy
getRequestQueueName, pollResponse, tryPollAckAgainAsync
-
Field Details
-
cancelRequestMapName
-
-
Constructor Details
-
AsyncRemoteProxy
public AsyncRemoteProxy(CommandAsyncExecutor commandExecutor, String name, String responseQueueName, ConcurrentMap<String, ResponseEntry> responses, Codec codec, String executorId, String cancelRequestMapName, BaseRemoteService remoteService)
-
-
Method Details
-
permittedClasses
-
create
public <T> T create(Class<T> remoteInterface, RemoteInvocationOptions options, Class<?> syncInterface) -
convertResult
-
awaitResultAsync
protected void awaitResultAsync(RemoteInvocationOptions optionsCopy, RemotePromise<Object> result, CompletionStage<RRemoteServiceResponse> responseFuture)
-