Interface WithMasterCheckpointHook<E>
-
- Type Parameters:
E
- The type of the data stored by the hook in the checkpoint, orVoid
, if none.
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ExternallyInducedSource<T,CD>
@PublicEvolving public interface WithMasterCheckpointHook<E> extends Serializable
This interface can be implemented by streaming functions that need to trigger a "global action" on the master (in the checkpoint coordinator) as part of every checkpoint and restore operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MasterTriggerRestoreHook<E>
createMasterTriggerRestoreHook()
Creates the hook that should be called by the checkpoint coordinator.
-
-
-
Method Detail
-
createMasterTriggerRestoreHook
MasterTriggerRestoreHook<E> createMasterTriggerRestoreHook()
Creates the hook that should be called by the checkpoint coordinator.
-
-