public class ScheduledTasksService extends TasksService
statusName, tasksCounterName, tasksName, terminationTopicName
codec, commandExecutor, executorId, name, redisson
Constructor and Description |
---|
ScheduledTasksService(Codec codec,
RedissonClient redisson,
String name,
CommandExecutor commandExecutor,
String redissonId,
ConcurrentMap<String,ResponseEntry> responses) |
Modifier and Type | Method and Description |
---|---|
protected RFuture<Boolean> |
addAsync(RBlockingQueue<RemoteServiceRequest> requestQueue,
RemoteServiceRequest request) |
protected void |
awaitResultAsync(RemoteInvocationOptions optionsCopy,
RemotePromise<Object> result,
RemoteServiceRequest request,
String responseName) |
protected String |
generateRequestId() |
protected RFuture<Boolean> |
removeAsync(RBlockingQueue<RemoteServiceRequest> requestQueue,
RemoteServiceRequest request) |
void |
setRequestId(String requestId) |
void |
setSchedulerChannelName(String schedulerChannelName) |
void |
setSchedulerQueueName(String scheduledQueueName) |
addAsync, cancelExecutionAsync, getAddCommandExecutor, setStatusName, setTasksCounterName, setTasksName, setTerminationTopicName
encode, get, get, get, get, getAckName, getCancelRequestMapName, getCancelResponseMapName, getMethodSignatures, getRequestQueueName, getResponseQueueName, scheduleCheck
public ScheduledTasksService(Codec codec, RedissonClient redisson, String name, CommandExecutor commandExecutor, String redissonId, ConcurrentMap<String,ResponseEntry> responses)
public void setRequestId(String requestId)
public void setSchedulerChannelName(String schedulerChannelName)
public void setSchedulerQueueName(String scheduledQueueName)
protected RFuture<Boolean> addAsync(RBlockingQueue<RemoteServiceRequest> requestQueue, RemoteServiceRequest request)
addAsync
in class TasksService
protected void awaitResultAsync(RemoteInvocationOptions optionsCopy, RemotePromise<Object> result, RemoteServiceRequest request, String responseName)
awaitResultAsync
in class BaseRemoteService
protected RFuture<Boolean> removeAsync(RBlockingQueue<RemoteServiceRequest> requestQueue, RemoteServiceRequest request)
removeAsync
in class TasksService
protected String generateRequestId()
generateRequestId
in class BaseRemoteService
Copyright © 2014–2017 The Redisson Project. All rights reserved.