public class RemoteExecutorServiceImpl extends Object implements RemoteExecutorService, RemoteParams
Constructor and Description |
---|
RemoteExecutorServiceImpl(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 |
setSchedulerTasksName(String schedulerTasksName) |
void |
setStatusName(String statusName) |
void |
setTasksCounterName(String tasksCounterName) |
void |
setTerminationTopicName(String terminationTopicName) |
public RemoteExecutorServiceImpl(CommandExecutor commandExecutor, RedissonClient redisson, Codec codec, String name)
public void setSchedulerQueueName(String schedulerQueueName)
public void setSchedulerChannelName(String schedulerChannelName)
public void setSchedulerTasksName(String schedulerTasksName)
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 RemoteExecutorService
public void schedule(String className, byte[] classBody, byte[] state, long startTime, String cronExpression)
schedule
in interface RemoteExecutorService
public void scheduleWithFixedDelay(String className, byte[] classBody, byte[] state, long startTime, long delay)
scheduleWithFixedDelay
in interface RemoteExecutorService
public Object scheduleCallable(String className, byte[] classBody, byte[] state, long startTime)
scheduleCallable
in interface RemoteExecutorService
public void scheduleRunnable(String className, byte[] classBody, byte[] state, long startTime)
scheduleRunnable
in interface RemoteExecutorService
public Object executeCallable(String className, byte[] classBody, byte[] state)
executeCallable
in interface RemoteExecutorService
public void executeRunnable(String className, byte[] classBody, byte[] state)
executeRunnable
in interface RemoteExecutorService
public void setRequestId(String id)
setRequestId
in interface RemoteParams
Copyright © 2014–2017 The Redisson Project. All rights reserved.