Class ExecutionOperations<T>
- java.lang.Object
-
- com.github.kagkarlsson.scheduler.task.ExecutionOperations<T>
-
public class ExecutionOperations<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionOperations(TaskRepository taskRepository, SchedulerClientEventListener earlyExecutionListener, Execution execution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidremove()voidremoveAndScheduleNew(SchedulableInstance<T> schedulableInstance)voidreschedule(ExecutionComplete completed, Instant nextExecutionTime)voidreschedule(ExecutionComplete completed, Instant nextExecutionTime, T newData)voidstop()
-
-
-
Constructor Detail
-
ExecutionOperations
public ExecutionOperations(TaskRepository taskRepository, SchedulerClientEventListener earlyExecutionListener, Execution execution)
-
-
Method Detail
-
stop
public void stop()
-
remove
public void remove()
-
removeAndScheduleNew
public void removeAndScheduleNew(SchedulableInstance<T> schedulableInstance)
-
reschedule
public void reschedule(ExecutionComplete completed, Instant nextExecutionTime)
-
reschedule
public void reschedule(ExecutionComplete completed, Instant nextExecutionTime, T newData)
-
-