Interface WithMasterCheckpointHook<E>

  • Type Parameters:
    E - The type of the data stored by the hook in the checkpoint, or Void, 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 Detail

      • createMasterTriggerRestoreHook

        MasterTriggerRestoreHook<E> createMasterTriggerRestoreHook()
        Creates the hook that should be called by the checkpoint coordinator.