@ProviderType
public interface SchedulerEngine
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
DESTINATION_NAME |
static String |
END_TIME |
static String |
FINAL_FIRE_TIME |
static String |
GROUP_NAME |
static String |
JOB_NAME |
static String |
JOB_STATE |
static String |
LANGUAGE |
static String |
MESSAGE |
static String |
NEXT_FIRE_TIME |
static String |
PREVIOUS_FIRE_TIME |
static String |
SCHEDULER |
static String |
SCHEDULER_CLUSTER_INVOKING |
static String |
SCRIPT |
static String |
START_TIME |
static String |
STORAGE_TYPE |
Modifier and Type | Method and Description |
---|---|
void |
delete(String groupName,
StorageType storageType) |
void |
delete(String jobName,
String groupName,
StorageType storageType) |
SchedulerResponse |
getScheduledJob(String jobName,
String groupName,
StorageType storageType) |
List<SchedulerResponse> |
getScheduledJobs() |
List<SchedulerResponse> |
getScheduledJobs(StorageType storageType) |
List<SchedulerResponse> |
getScheduledJobs(String groupName,
StorageType storageType) |
void |
pause(String jobName,
String groupName,
StorageType storageType) |
void |
resume(String jobName,
String groupName,
StorageType storageType) |
void |
run(long companyId,
String jobName,
String groupName,
StorageType storageType) |
void |
schedule(Trigger trigger,
String description,
String destinationName,
Message message,
StorageType storageType) |
void |
shutdown() |
void |
start() |
void |
validateTrigger(Trigger trigger,
StorageType storageType) |
static final String DESCRIPTION
static final String DESTINATION_NAME
static final String END_TIME
static final String FINAL_FIRE_TIME
static final String GROUP_NAME
static final String JOB_NAME
static final String JOB_STATE
static final String LANGUAGE
static final String MESSAGE
static final String NEXT_FIRE_TIME
static final String PREVIOUS_FIRE_TIME
static final String SCHEDULER
static final String SCHEDULER_CLUSTER_INVOKING
static final String SCRIPT
static final String START_TIME
static final String STORAGE_TYPE
void delete(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void delete(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
SchedulerResponse getScheduledJob(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
List<SchedulerResponse> getScheduledJobs() throws SchedulerException
SchedulerException
List<SchedulerResponse> getScheduledJobs(StorageType storageType) throws SchedulerException
SchedulerException
List<SchedulerResponse> getScheduledJobs(String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void pause(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void resume(String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void run(long companyId, String jobName, String groupName, StorageType storageType) throws SchedulerException
SchedulerException
void schedule(Trigger trigger, String description, String destinationName, Message message, StorageType storageType) throws SchedulerException
SchedulerException
void shutdown() throws SchedulerException
SchedulerException
void start() throws SchedulerException
SchedulerException
void validateTrigger(Trigger trigger, StorageType storageType) throws SchedulerException
SchedulerException