Interface ExecutionStateUpdateListener
-
- All Known Subinterfaces:
ExecutionStatusMetricsRegistrar
- All Known Implementing Classes:
AllSubTasksRunningOrFinishedStateTimeMetrics,DeploymentStateTimeMetrics
public interface ExecutionStateUpdateListenerA listener that is called when an execution switched to a new state.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ExecutionStateUpdateListenercombine(ExecutionStateUpdateListener... listeners)voidonStateUpdate(ExecutionAttemptID execution, ExecutionState previousState, ExecutionState newState)
-
-
-
Method Detail
-
onStateUpdate
void onStateUpdate(ExecutionAttemptID execution, ExecutionState previousState, ExecutionState newState)
-
combine
static ExecutionStateUpdateListener combine(ExecutionStateUpdateListener... listeners)
-
-