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(String taskName, String taskInstanceId) TaskRepository.getExecutionsFailingLongerThan(Duration interval) Scheduler.getFailingExecutions(Duration failingAtLeastFor) TaskRepository.lockAndGetDue(Instant now, int limit) Methods in com.github.kagkarlsson.scheduler with parameters of type ExecutionModifier and TypeMethodDescriptionvoidTaskRepository.replace(Execution toBeReplaced, SchedulableInstance 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) voidTaskRepository.updateHeartbeat(Execution execution, Instant heartbeatTime) 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) ScheduledExecution(Class<DATA_TYPE> dataClass, 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
Methods 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) AutodetectJdbcCustomization.lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) DefaultJdbcCustomization.lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) JdbcCustomization.lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) MssqlJdbcCustomization.lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) PostgreSqlJdbcCustomization.lockAndFetch(com.github.kagkarlsson.scheduler.jdbc.JdbcTaskRepositoryContext ctx, Instant now, int limit) 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) 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) voidJdbcTaskRepository.updateHeartbeat(Execution e, Instant newHeartbeat) 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.task
Methods in com.github.kagkarlsson.scheduler.task that return ExecutionModifier and TypeMethodDescriptionExecutionComplete.getExecution()ExecutionContext.getExecution()ExecutionFailed.getExecution()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) ExecutionFailed(Execution execution, Instant timeDone, Throwable cause) ExecutionOperations(TaskRepository taskRepository, SchedulerClientEventListener earlyExecutionListener, Execution execution)