-
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: New interface SchedulerListener (#504)
Replaces the old `StatsRegistry` and adds more detailed events: ```java void onExecutionScheduled(TaskInstanceId taskInstanceId, Instant executionTime); void onExecutionStart(CurrentlyExecuting currentlyExecuting); void onExecutionComplete(ExecutionComplete executionComplete); void onExecutionDead(Execution execution); void onExecutionFailedHeartbeat(CurrentlyExecuting currentlyExecuting); ``` Additionally adds `ExecutionInterceptor` as a way of injecting wrapping-logic for all executions. ```java CompletionHandler<?> execute( TaskInstance<?> taskInstance, ExecutionContext executionContext, ExecutionChain chain); ``` ## Fixes * #451
- Loading branch information
1 parent
468b87d
commit d09ecbd
Showing
30 changed files
with
865 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.