Interface SchedulerEngine
@ProviderType
public interface SchedulerEngine
- Author:
- Michael C. Han, Bruno Farache, Shuyang Zhou, Tina Tian
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(String groupName, StorageType storageType) voiddelete(String jobName, String groupName, StorageType storageType) getScheduledJob(String jobName, String groupName, StorageType storageType) getScheduledJobs(StorageType storageType) getScheduledJobs(String groupName, StorageType storageType) voidpause(String jobName, String groupName, StorageType storageType) voidresume(String jobName, String groupName, StorageType storageType) voidrun(long companyId, String jobName, String groupName, StorageType storageType) voidschedule(Trigger trigger, String description, String destinationName, Message message, StorageType storageType) voidshutdown()voidstart()voidvalidateTrigger(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
-