public class TasksRunnerService extends Object implements RemoteExecutorService, RemoteParams
| Constructor and Description |
|---|
TasksRunnerService(CommandExecutor commandExecutor,
RedissonClient redisson,
Codec codec,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeCallable(String className,
byte[] classBody,
byte[] state) |
void |
executeRunnable(String className,
byte[] classBody,
byte[] state) |
void |
schedule(String className,
byte[] classBody,
byte[] state,
long startTime,
String cronExpression) |
void |
scheduleAtFixedRate(String className,
byte[] classBody,
byte[] state,
long startTime,
long period) |
Object |
scheduleCallable(String className,
byte[] classBody,
byte[] state,
long startTime) |
void |
scheduleRunnable(String className,
byte[] classBody,
byte[] state,
long startTime) |
void |
scheduleWithFixedDelay(String className,
byte[] classBody,
byte[] state,
long startTime,
long delay) |
void |
setRequestId(String id) |
void |
setSchedulerChannelName(String schedulerChannelName) |
void |
setSchedulerQueueName(String schedulerQueueName) |
void |
setStatusName(String statusName) |
void |
setTasksCounterName(String tasksCounterName) |
void |
setTasksName(String tasksName) |
void |
setTerminationTopicName(String terminationTopicName) |
public TasksRunnerService(CommandExecutor commandExecutor, RedissonClient redisson, Codec codec, String name)
public void setSchedulerQueueName(String schedulerQueueName)
public void setSchedulerChannelName(String schedulerChannelName)
public void setTasksName(String tasksName)
public void setTasksCounterName(String tasksCounterName)
public void setStatusName(String statusName)
public void setTerminationTopicName(String terminationTopicName)
public void scheduleAtFixedRate(String className, byte[] classBody, byte[] state, long startTime, long period)
scheduleAtFixedRate in interface RemoteExecutorServicepublic void schedule(String className, byte[] classBody, byte[] state, long startTime, String cronExpression)
schedule in interface RemoteExecutorServicepublic void scheduleWithFixedDelay(String className, byte[] classBody, byte[] state, long startTime, long delay)
scheduleWithFixedDelay in interface RemoteExecutorServicepublic Object scheduleCallable(String className, byte[] classBody, byte[] state, long startTime)
scheduleCallable in interface RemoteExecutorServicepublic void scheduleRunnable(String className, byte[] classBody, byte[] state, long startTime)
scheduleRunnable in interface RemoteExecutorServicepublic Object executeCallable(String className, byte[] classBody, byte[] state)
executeCallable in interface RemoteExecutorServicepublic void executeRunnable(String className, byte[] classBody, byte[] state)
executeRunnable in interface RemoteExecutorServicepublic void setRequestId(String id)
setRequestId in interface RemoteParamsCopyright © 2014–2017 The Redisson Project. All rights reserved.