public class TasksRunnerService extends Object implements RemoteExecutorService
Constructor and Description |
---|
TasksRunnerService(CommandExecutor commandExecutor,
RedissonClient redisson,
Codec codec,
String name,
ConcurrentMap<String,ResponseEntry> responses) |
Modifier and Type | Method and Description |
---|---|
Object |
executeCallable(String className,
byte[] classBody,
byte[] state,
String requestId) |
void |
executeRunnable(String className,
byte[] classBody,
byte[] state,
String requestId) |
void |
schedule(String className,
byte[] classBody,
byte[] state,
long startTime,
String cronExpression,
String executorId,
String requestId) |
void |
scheduleAtFixedRate(String className,
byte[] classBody,
byte[] state,
long startTime,
long period,
String executorId,
String requestId) |
Object |
scheduleCallable(String className,
byte[] classBody,
byte[] state,
long startTime,
String requestId) |
void |
scheduleRunnable(String className,
byte[] classBody,
byte[] state,
long startTime,
String requestId) |
void |
scheduleWithFixedDelay(String className,
byte[] classBody,
byte[] state,
long startTime,
long delay,
String executorId,
String requestId) |
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, ConcurrentMap<String,ResponseEntry> responses)
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, String executorId, String requestId)
scheduleAtFixedRate
in interface RemoteExecutorService
public void schedule(String className, byte[] classBody, byte[] state, long startTime, String cronExpression, String executorId, String requestId)
schedule
in interface RemoteExecutorService
public void scheduleWithFixedDelay(String className, byte[] classBody, byte[] state, long startTime, long delay, String executorId, String requestId)
scheduleWithFixedDelay
in interface RemoteExecutorService
public Object scheduleCallable(String className, byte[] classBody, byte[] state, long startTime, String requestId)
scheduleCallable
in interface RemoteExecutorService
public void scheduleRunnable(String className, byte[] classBody, byte[] state, long startTime, String requestId)
scheduleRunnable
in interface RemoteExecutorService
public Object executeCallable(String className, byte[] classBody, byte[] state, String requestId)
executeCallable
in interface RemoteExecutorService
public void executeRunnable(String className, byte[] classBody, byte[] state, String requestId)
executeRunnable
in interface RemoteExecutorService
Copyright © 2014–2018 The Redisson Project. All rights reserved.