Class ExecutionOperations<T>
java.lang.Object
com.github.kagkarlsson.scheduler.task.ExecutionOperations<T>
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionOperations(TaskRepository taskRepository, SchedulerClientEventListener earlyExecutionListener, Execution execution) -
Method Summary
Modifier and TypeMethodDescriptionvoidremove()voidremoveAndScheduleNew(SchedulableInstance<T> schedulableInstance) voidreschedule(ExecutionComplete completed, Instant nextExecutionTime) voidreschedule(ExecutionComplete completed, Instant nextExecutionTime, T newData) voidstop()
-
Constructor Details
-
ExecutionOperations
public ExecutionOperations(TaskRepository taskRepository, SchedulerClientEventListener earlyExecutionListener, Execution execution)
-
-
Method Details
-
stop
public void stop() -
remove
public void remove() -
removeAndScheduleNew
-
reschedule
-
reschedule
-