public class AsyncRemoteProxy extends BaseRemoteProxy
Modifier and Type | Field and Description |
---|---|
protected String |
cancelRequestMapName |
Constructor and Description |
---|
AsyncRemoteProxy(CommandAsyncExecutor commandExecutor,
String name,
String responseQueueName,
ConcurrentMap<String,ResponseEntry> responses,
Codec codec,
String executorId,
String cancelRequestMapName,
BaseRemoteService remoteService) |
Modifier and Type | Method and Description |
---|---|
protected void |
awaitResultAsync(RemoteInvocationOptions optionsCopy,
RemotePromise<Object> result,
RFuture<RRemoteServiceResponse> responseFuture) |
protected Object |
convertResult(RemotePromise<Object> result,
Class<?> returnType) |
<T> T |
create(Class<T> remoteInterface,
RemoteInvocationOptions options,
Class<?> syncInterface) |
protected List<Class<?>> |
permittedClasses() |
getRequestQueueName, pollResponse, tryPollAckAgainAsync
protected final String cancelRequestMapName
public AsyncRemoteProxy(CommandAsyncExecutor commandExecutor, String name, String responseQueueName, ConcurrentMap<String,ResponseEntry> responses, Codec codec, String executorId, String cancelRequestMapName, BaseRemoteService remoteService)
public <T> T create(Class<T> remoteInterface, RemoteInvocationOptions options, Class<?> syncInterface)
protected Object convertResult(RemotePromise<Object> result, Class<?> returnType)
protected void awaitResultAsync(RemoteInvocationOptions optionsCopy, RemotePromise<Object> result, RFuture<RRemoteServiceResponse> responseFuture)
Copyright © 2014–2021 Redisson. All rights reserved.