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>
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
Modifier and TypeMethodDescriptionCreates the hook that should be called by the checkpoint coordinator.
-
Method Details
-
createMasterTriggerRestoreHook
MasterTriggerRestoreHook<E> createMasterTriggerRestoreHook()Creates the hook that should be called by the checkpoint coordinator.
-