Uses of Class
com.github.kagkarlsson.scheduler.task.Execution
Packages that use Execution
Package
Description
-
Uses of Execution in com.github.kagkarlsson.scheduler
Methods in com.github.kagkarlsson.scheduler that return ExecutionMethods in com.github.kagkarlsson.scheduler that return types with arguments of type ExecutionModifier and TypeMethodDescriptionTaskRepository.getDeadExecutions(Instant olderThan) TaskRepository.getExecution(TaskInstanceId taskInstance) TaskRepository.getExecution(String taskName, String taskInstanceId) TaskRepository.getExecutionsFailingLongerThan(Duration interval) Scheduler.getFailingExecutions(Duration failingAtLeastFor) TaskRepository.lockAndFetchGeneric(Instant now, int limit) TaskRepository.lockAndGetDue(Instant now, int limit) Methods in com.github.kagkarlsson.scheduler with parameters of type ExecutionModifier and TypeMethodDescriptionvoidTaskRepository.replace(Execution toBeReplaced, SchedulableInstance<?> newInstance) Deprecated.TaskRepository.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 ExecutionModifier and TypeMethodDescriptionvoidTaskRepository.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 ExecutionModifierConstructorDescriptionCurrentlyExecuting(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 ExecutionModifier and TypeMethodDescriptionvoidAbstractSchedulerListener.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 ExecutionModifierConstructorDescriptionExecutionException(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 ExecutionModifier and TypeFieldDescriptionfinal Supplier<ResultSetMapper<List<Execution>>>JdbcTaskRepositoryContext.resultSetMapperMethods in com.github.kagkarlsson.scheduler.jdbc that return types with arguments of type ExecutionModifier and TypeMethodDescriptionJdbcTaskRepository.getDeadExecutions(Instant olderThan) JdbcTaskRepository.getExecution(TaskInstance taskInstance) JdbcTaskRepository.getExecution(String taskName, String taskInstanceId) JdbcTaskRepository.getExecutionsFailingLongerThan(Duration interval) JdbcTaskRepository.lockAndFetchGeneric(Instant now, int limit) AutodetectJdbcCustomization.lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority) DefaultJdbcCustomization.lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority) JdbcCustomization.lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority) PostgreSqlJdbcCustomization.lockAndFetchSingleStatement(JdbcTaskRepositoryContext ctx, Instant now, int limit, boolean orderByPriority) JdbcTaskRepository.lockAndGetDue(Instant now, int limit) Methods in com.github.kagkarlsson.scheduler.jdbc with parameters of type ExecutionModifier and TypeMethodDescriptionvoidJdbcTaskRepository.replace(Execution toBeReplaced, SchedulableInstance newInstance) JdbcTaskRepository.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 ExecutionModifier and TypeMethodDescriptionvoidJdbcTaskRepository.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 -
Uses of Execution in com.github.kagkarlsson.scheduler.task
Methods in com.github.kagkarlsson.scheduler.task that return ExecutionModifier and TypeMethodDescriptionExecutionComplete.getExecution()ExecutionContext.getExecution()ExecutionFailed.getExecution()Execution.updateToPicked(String newPickedBy, Instant newLastHeartbeat) Methods in com.github.kagkarlsson.scheduler.task with parameters of type ExecutionModifier and TypeMethodDescriptionstatic ExecutionCompleteExecutionComplete.failure(Execution execution, Instant timeStarted, Instant timeDone, Throwable cause) static ExecutionCompleteConstructors in com.github.kagkarlsson.scheduler.task with parameters of type ExecutionModifierConstructorDescriptionExecutionContext(SchedulerState schedulerState, Execution execution, SchedulerClient schedulerClient, CurrentlyExecuting currentlyExecuting) ExecutionFailed(Execution execution, Instant timeDone, Throwable cause) ExecutionOperations(TaskRepository taskRepository, SchedulerListeners schedulerListeners, Execution execution)