Interface SchedulerEngine
@ProviderType
public interface SchedulerEngine
- Author:
- Michael C. Han, Bruno Farache, Shuyang Zhou, Tina Tian
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(String groupName, StorageType storageType) void
delete
(String jobName, String groupName, StorageType storageType) getScheduledJob
(String jobName, String groupName, StorageType storageType) getScheduledJobs
(StorageType storageType) 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)
-
Field Details
-
DESCRIPTION
- See Also:
-
DESTINATION_NAME
- See Also:
-
END_TIME
- See Also:
-
FINAL_FIRE_TIME
- See Also:
-
GROUP_NAME
- See Also:
-
JOB_NAME
- See Also:
-
JOB_STATE
- See Also:
-
LANGUAGE
- See Also:
-
MESSAGE
- See Also:
-
NEXT_FIRE_TIME
- See Also:
-
PREVIOUS_FIRE_TIME
- See Also:
-
SCHEDULER
- See Also:
-
SCHEDULER_CLUSTER_INVOKING
- See Also:
-
SCRIPT
- See Also:
-
START_TIME
- See Also:
-
STORAGE_TYPE
- See Also:
-
-
Method Details
-
delete
- Throws:
SchedulerException
-
delete
- Throws:
SchedulerException
-
getScheduledJob
SchedulerResponse getScheduledJob(String jobName, String groupName, StorageType storageType) throws SchedulerException - Throws:
SchedulerException
-
getScheduledJobs
- Throws:
SchedulerException
-
getScheduledJobs
- Throws:
SchedulerException
-
getScheduledJobs
List<SchedulerResponse> getScheduledJobs(String groupName, StorageType storageType) throws SchedulerException - Throws:
SchedulerException
-
pause
- Throws:
SchedulerException
-
resume
- Throws:
SchedulerException
-
run
void run(long companyId, String jobName, String groupName, StorageType storageType) throws SchedulerException - Throws:
SchedulerException
-
schedule
void schedule(Trigger trigger, String description, String destinationName, Message message, StorageType storageType) throws SchedulerException - Throws:
SchedulerException
-
shutdown
- Throws:
SchedulerException
-
start
- Throws:
SchedulerException
-
validateTrigger
- Throws:
SchedulerException
-