Package org.redisson.executor
Class RedissonExecutorRemoteService
java.lang.Object
org.redisson.remote.BaseRemoteService
org.redisson.RedissonRemoteService
org.redisson.executor.RedissonExecutorRemoteService
- All Implemented Interfaces:
RRemoteService
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from class org.redisson.RedissonRemoteService
RedissonRemoteService.Entry
-
Field Summary
Fields inherited from class org.redisson.remote.BaseRemoteService
cancelRequestMapName, cancelResponseMapName, codec, commandExecutor, executorId, name, responseQueueName
-
Constructor Summary
ConstructorDescriptionRedissonExecutorRemoteService
(Codec codec, String name, CommandAsyncExecutor commandExecutor, String executorId) -
Method Summary
Modifier and TypeMethodDescriptionprotected RFuture
<RemoteServiceRequest> getTask
(String requestId, RMap<String, RemoteServiceRequest> tasks) protected <T> void
invokeMethod
(RemoteServiceRequest request, RemoteServiceMethod method, CompletableFuture<RemoteServiceCancelRequest> cancelRequestFuture, CompletableFuture<RRemoteServiceResponse> responsePromise) void
setListeners
(List<TaskListener> listeners) void
setSchedulerQueueName
(String schedulerQueueName) void
setStatusName
(String statusName) void
setTasksCounterName
(String tasksCounterName) void
setTasksExpirationTimeName
(String tasksExpirationTimeName) void
setTasksRetryIntervalName
(String tasksRetryIntervalName) void
setTaskTimeout
(long taskTimeout) void
setTerminationTopicName
(String terminationTopicName) Methods inherited from class org.redisson.RedissonRemoteService
addAsync, deregister, getFreeWorkers, getPendingInvocations, getPendingInvocationsAsync, getRequestTasksMapName, register, register, register, removeAsync, tryExecute, tryExecute, tryExecuteAsync, tryExecuteAsync, tryExecuteAsync
Methods inherited from class org.redisson.remote.BaseRemoteService
encode, generateRequestId, get, get, get, get, getAckName, getBlockingQueue, getMap, getMethodSignature, getRequestQueueName, getResponseQueueName, getTimeout, scheduleCheck
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.redisson.api.RRemoteService
get, get, get, get
-
Constructor Details
-
RedissonExecutorRemoteService
public RedissonExecutorRemoteService(Codec codec, String name, CommandAsyncExecutor commandExecutor, String executorId)
-
-
Method Details
-
getTask
protected RFuture<RemoteServiceRequest> getTask(String requestId, RMap<String, RemoteServiceRequest> tasks) - Overrides:
getTask
in classRedissonRemoteService
-
invokeMethod
protected <T> void invokeMethod(RemoteServiceRequest request, RemoteServiceMethod method, CompletableFuture<RemoteServiceCancelRequest> cancelRequestFuture, CompletableFuture<RRemoteServiceResponse> responsePromise) - Overrides:
invokeMethod
in classRedissonRemoteService
-
setListeners
-
setTaskTimeout
public void setTaskTimeout(long taskTimeout) -
setSchedulerQueueName
-
setTasksExpirationTimeName
-
setTasksCounterName
-
setStatusName
-
setTasksRetryIntervalName
-
setTerminationTopicName
-