public class ExecutorRemoteService extends BaseRemoteService
Modifier and Type | Field and Description |
---|---|
protected String |
statusName |
protected String |
tasksCounterName |
protected String |
terminationTopicName |
codec, commandExecutor, name, redisson
Constructor and Description |
---|
ExecutorRemoteService(Codec codec,
RedissonClient redisson,
String name,
CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
protected RFuture<Boolean> |
addAsync(RBlockingQueue<RemoteServiceRequest> requestQueue,
RemoteServiceRequest request) |
protected RFuture<Boolean> |
addAsync(RBlockingQueue<RemoteServiceRequest> requestQueue,
RemoteServiceRequest request,
RemotePromise<Object> result) |
protected boolean |
remove(RBlockingQueue<RemoteServiceRequest> requestQueue,
RemoteServiceRequest request) |
void |
setStatusName(String statusName) |
void |
setTasksCounterName(String tasksCounterName) |
void |
setTerminationTopicName(String terminationTopicName) |
awaitResultAsync, encode, generateRequestId, get, get, get, get, getAckName, getCancelRequestQueueName, getCodec, getMethodSignatures, getRequestQueueName, getResponseQueueName
protected String terminationTopicName
protected String tasksCounterName
protected String statusName
public ExecutorRemoteService(Codec codec, RedissonClient redisson, String name, CommandExecutor commandExecutor)
public void setTerminationTopicName(String terminationTopicName)
public void setStatusName(String statusName)
public void setTasksCounterName(String tasksCounterName)
protected final RFuture<Boolean> addAsync(RBlockingQueue<RemoteServiceRequest> requestQueue, RemoteServiceRequest request, RemotePromise<Object> result)
addAsync
in class BaseRemoteService
protected RFuture<Boolean> addAsync(RBlockingQueue<RemoteServiceRequest> requestQueue, RemoteServiceRequest request)
protected boolean remove(RBlockingQueue<RemoteServiceRequest> requestQueue, RemoteServiceRequest request)
remove
in class BaseRemoteService
Copyright © 2014–2017 The Redisson Project. All rights reserved.