Uses of Class
com.github.kagkarlsson.scheduler.task.Execution
-
-
Uses of Execution in com.github.kagkarlsson.scheduler
Methods in com.github.kagkarlsson.scheduler that return Execution Modifier and Type Method Description ExecutionCurrentlyExecuting. getExecution()Methods in com.github.kagkarlsson.scheduler that return types with arguments of type Execution Modifier and Type Method Description List<Execution>TaskRepository. getDeadExecutions(Instant olderThan)List<Execution>TaskRepository. getDue(Instant now, int limit)default Optional<Execution>TaskRepository. getExecution(TaskInstanceId taskInstance)Optional<Execution>TaskRepository. getExecution(String taskName, String taskInstanceId)List<Execution>TaskRepository. getExecutionsFailingLongerThan(Duration interval)List<Execution>Scheduler. getFailingExecutions(Duration failingAtLeastFor)List<Execution>TaskRepository. lockAndFetchGeneric(Instant now, int limit)List<Execution>TaskRepository. lockAndGetDue(Instant now, int limit)Optional<Execution>TaskRepository. pick(Execution e, Instant timePicked)Methods in com.github.kagkarlsson.scheduler with parameters of type Execution Modifier and Type Method Description Optional<Execution>TaskRepository. pick(Execution e, Instant timePicked)voidTaskRepository. remove(Execution execution)InstantTaskRepository. replace(Execution toBeReplaced, SchedulableInstance<?> newInstance)Deprecated.InstantTaskRepository. replace(Execution toBeReplaced, ScheduledTaskInstance newInstance)booleanTaskRepository. reschedule(Execution execution, Instant nextExecutionTime, Object newData, Instant lastSuccess, Instant lastFailure, int consecutiveFailures)booleanTaskRepository. reschedule(Execution execution, Instant nextExecutionTime, Instant lastSuccess, Instant lastFailure, int consecutiveFailures)booleanTaskRepository. updateHeartbeat(Execution execution, Instant heartbeatTime)booleanTaskRepository. updateHeartbeatWithRetry(Execution execution, Instant newHeartbeat, int tries)Method parameters in com.github.kagkarlsson.scheduler with type arguments of type Execution Modifier and Type Method Description voidTaskRepository. getScheduledExecutions(ScheduledExecutionsFilter filter, String taskName, Consumer<Execution> consumer)voidTaskRepository. getScheduledExecutions(ScheduledExecutionsFilter filter, Consumer<Execution> consumer)Constructors in com.github.kagkarlsson.scheduler with parameters of type Execution Constructor Description CurrentlyExecuting(Execution execution, Clock clock, HeartbeatConfig heartbeatConfig)ScheduledExecution(Class<DATA_TYPE> dataClass, Execution execution) -
Uses of Execution in com.github.kagkarlsson.scheduler.event
Methods in com.github.kagkarlsson.scheduler.event with parameters of type Execution Modifier and Type Method Description voidAbstractSchedulerListener. onExecutionDead(Execution execution)voidSchedulerListener. onExecutionDead(Execution execution)Scheduler has detected a dead execution.voidSchedulerListeners. onExecutionDead(Execution execution) -
Uses of Execution in com.github.kagkarlsson.scheduler.exceptions
Constructors in com.github.kagkarlsson.scheduler.exceptions with parameters of type Execution Constructor Description ExecutionException(String message, Execution execution)ExecutionException(String message, Execution execution, Throwable ex) -
Uses of Execution in com.github.kagkarlsson.scheduler.jdbc
Fields in com.github.kagkarlsson.scheduler.jdbc with type parameters of type Execution Modifier and Type Field Description Supplier<ResultSetMapper<List<Execution>>>JdbcTaskRepositoryContext. resultSetMapperMethods in com.github.kagkarlsson.scheduler.jdbc that return types with arguments of type Execution Modifier and Type Method Description List<Execution>JdbcTaskRepository. getDeadExecutions(Instant olderThan)List<Execution>JdbcTaskRepository. getDue(Instant now, int limit)Optional<Execution>JdbcTaskRepository. getExecution(TaskInstance taskInstance)Optional<Execution>JdbcTaskRepository. getExecution(String taskName, String taskInstanceId)List<Execution>JdbcTaskRepository. getExecutionsFailingLongerThan(Duration interval)List<Execution>JdbcTaskRepository. lockAndFetchGeneric(Instant now, int limit)List<Execution>AutodetectJdbcCustomization. lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority)List<Execution>DefaultJdbcCustomization. lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority)List<Execution>JdbcCustomization. lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority)List<Execution>PostgreSqlJdbcCustomization. lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority)List<Execution>JdbcTaskRepository. lockAndGetDue(Instant now, int limit)Optional<Execution>JdbcTaskRepository. pick(Execution e, Instant timePicked)Methods in com.github.kagkarlsson.scheduler.jdbc with parameters of type Execution Modifier and Type Method Description Optional<Execution>JdbcTaskRepository. pick(Execution e, Instant timePicked)voidJdbcTaskRepository. remove(Execution execution)InstantJdbcTaskRepository. replace(Execution toBeReplaced, SchedulableInstance newInstance)InstantJdbcTaskRepository. replace(Execution toBeReplaced, ScheduledTaskInstance newInstance)Instead of doing delete+insert, we allow updating an existing execution will all new fieldsbooleanJdbcTaskRepository. reschedule(Execution execution, Instant nextExecutionTime, Object newData, Instant lastSuccess, Instant lastFailure, int consecutiveFailures)booleanJdbcTaskRepository. reschedule(Execution execution, Instant nextExecutionTime, Instant lastSuccess, Instant lastFailure, int consecutiveFailures)booleanJdbcTaskRepository. updateHeartbeat(Execution e, Instant newHeartbeat)booleanJdbcTaskRepository. updateHeartbeatWithRetry(Execution execution, Instant newHeartbeat, int tries)Method parameters in com.github.kagkarlsson.scheduler.jdbc with type arguments of type Execution Modifier and Type Method Description voidJdbcTaskRepository. getScheduledExecutions(ScheduledExecutionsFilter filter, String taskName, Consumer<Execution> consumer)voidJdbcTaskRepository. getScheduledExecutions(ScheduledExecutionsFilter filter, Consumer<Execution> consumer) -
Uses of Execution in com.github.kagkarlsson.scheduler.stats
Methods in com.github.kagkarlsson.scheduler.stats with parameters of type Execution Modifier and Type Method Description voidStatsRegistryAdapter. onExecutionDead(Execution execution) -
Uses of Execution in com.github.kagkarlsson.scheduler.task
Methods in com.github.kagkarlsson.scheduler.task that return Execution Modifier and Type Method Description ExecutionExecutionComplete. getExecution()ExecutionExecutionContext. getExecution()ExecutionExecutionFailed. getExecution()ExecutionExecution. updateToPicked(String newPickedBy, Instant newLastHeartbeat)Methods in com.github.kagkarlsson.scheduler.task with parameters of type Execution Modifier and Type Method Description static ExecutionCompleteExecutionComplete. failure(Execution execution, Instant timeStarted, Instant timeDone, Throwable cause)static ExecutionCompleteExecutionComplete. success(Execution execution, Instant timeStarted, Instant timeDone)Constructors in com.github.kagkarlsson.scheduler.task with parameters of type Execution Constructor Description ExecutionContext(SchedulerState schedulerState, Execution execution, SchedulerClient schedulerClient, CurrentlyExecuting currentlyExecuting)ExecutionFailed(Execution execution, Instant timeDone, Throwable cause)ExecutionOperations(TaskRepository taskRepository, SchedulerListeners schedulerListeners, Execution execution)
-