public class TasksService extends BaseRemoteService
Modifier and Type | Field and Description |
---|---|
protected String |
schedulerChannelName |
protected String |
schedulerQueueName |
protected String |
statusName |
protected String |
tasksCounterName |
protected String |
tasksExpirationTimeName |
protected String |
tasksName |
protected long |
tasksRetryInterval |
protected String |
tasksRetryIntervalName |
protected String |
terminationTopicName |
cancelRequestMapName, cancelResponseMapName, codec, commandExecutor, executorId, name, responseQueueName
Constructor and Description |
---|
TasksService(Codec codec,
String name,
CommandAsyncExecutor commandExecutor,
String executorId,
ConcurrentMap<String,ResponseEntry> responses) |
encode, get, get, get, get, getAckName, getAckName, getMap, getMethodSignature, getRequestQueueName, getResponseQueueName, getTimeout, scheduleCheck
protected String terminationTopicName
protected String tasksCounterName
protected String statusName
protected String tasksName
protected String schedulerQueueName
protected String schedulerChannelName
protected String tasksRetryIntervalName
protected String tasksExpirationTimeName
protected long tasksRetryInterval
public TasksService(Codec codec, String name, CommandAsyncExecutor commandExecutor, String executorId, ConcurrentMap<String,ResponseEntry> responses)
public void setTasksExpirationTimeName(String tasksExpirationTimeName)
public void setTasksRetryIntervalName(String tasksRetryIntervalName)
public void setTasksRetryInterval(long tasksRetryInterval)
public void setTerminationTopicName(String terminationTopicName)
public void setStatusName(String statusName)
public void setTasksCounterName(String tasksCounterName)
public void setTasksName(String tasksName)
public void setSchedulerChannelName(String schedulerChannelName)
public void setSchedulerQueueName(String scheduledQueueName)
protected final RFuture<Boolean> addAsync(String requestQueueName, RemoteServiceRequest request, RemotePromise<Object> result)
addAsync
in class BaseRemoteService
protected CommandAsyncExecutor getAddCommandExecutor()
protected RFuture<Boolean> addAsync(String requestQueueName, RemoteServiceRequest request)
protected RFuture<Boolean> removeAsync(String requestQueueName, RequestId taskId)
removeAsync
in class BaseRemoteService
protected RequestId generateRequestId()
generateRequestId
in class BaseRemoteService
Copyright © 2014–2021 Redisson. All rights reserved.