Class JdbcSchedulerExecutionStore
java.lang.Object
org.chenile.scheduler.store.JdbcSchedulerExecutionStore
- All Implemented Interfaces:
SchedulerExecutionStore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByExecutionId(String executionId) private ScheduledExecutionRecordvoidmarkFailure(String executionId, int attempt, String errorMessage) voidmarkSuccess(String executionId, int attempt, String launcherMetadata) voidmarkTimedOut(String executionId, int attempt, String errorMessage) private Instantbooleanprivate voidupdate(String executionId, int attempt, SchedulerExecutionStatus status, String errorMessage, String launcherMetadata)
-
Field Details
-
jdbcTemplate
-
-
Constructor Details
-
JdbcSchedulerExecutionStore
-
-
Method Details
-
tryStartExecution
- Specified by:
tryStartExecutionin interfaceSchedulerExecutionStore
-
markSuccess
- Specified by:
markSuccessin interfaceSchedulerExecutionStore
-
markFailure
- Specified by:
markFailurein interfaceSchedulerExecutionStore
-
markTimedOut
- Specified by:
markTimedOutin interfaceSchedulerExecutionStore
-
findByExecutionId
- Specified by:
findByExecutionIdin interfaceSchedulerExecutionStore
-
update
private void update(String executionId, int attempt, SchedulerExecutionStatus status, String errorMessage, String launcherMetadata) -
map
- Throws:
SQLException
-
toInstant
-