@ProviderType
public interface ScheduledJobInfo
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getJobProperties()
Return the optional job topics.
|
String |
getJobTopic()
Return the job topic.
|
Date |
getNextScheduledExecution()
Return the next scheduled execution date.
|
Collection<ScheduleInfo> |
getSchedules()
Get all schedules for this job
|
boolean |
isSuspended()
Is the processing currently suspended?
|
JobBuilder.ScheduleBuilder |
reschedule()
Reschedule this job with a new rescheduling information.
|
void |
resume()
Resume job processing.
|
void |
suspend()
Suspend this job scheduling.
|
void |
unschedule()
Unschedule this scheduled job.
|
Collection<ScheduleInfo> getSchedules()
Date getNextScheduledExecution()
String getJobTopic()
Map<String,Object> getJobProperties()
null
void unschedule()
JobBuilder.ScheduleBuilder reschedule()
void suspend()
resume()
.
This information is persisted and survives a restart.void resume()
suspend()
. If the queue is not
suspended, calling this method has no effect.boolean isSuspended()
Copyright © 2014 The Apache Software Foundation. All rights reserved.