Uses of Interface
org.apache.flink.runtime.checkpoint.MasterTriggerRestoreHook
-
-
Uses of MasterTriggerRestoreHook in org.apache.flink.runtime.checkpoint
Methods in org.apache.flink.runtime.checkpoint that return MasterTriggerRestoreHook Modifier and Type Method Description <V> MasterTriggerRestoreHook<V>MasterTriggerRestoreHook.Factory. create()Instantiates theMasterTriggerRestoreHook.Methods in org.apache.flink.runtime.checkpoint with parameters of type MasterTriggerRestoreHook Modifier and Type Method Description booleanCheckpointCoordinator. addMasterHook(MasterTriggerRestoreHook<?> hook)Adds the given master hook to the checkpoint coordinator. -
Uses of MasterTriggerRestoreHook in org.apache.flink.runtime.checkpoint.hooks
Methods in org.apache.flink.runtime.checkpoint.hooks that return MasterTriggerRestoreHook Modifier and Type Method Description static <T> MasterTriggerRestoreHook<T>MasterHooks. wrapHook(MasterTriggerRestoreHook<T> hook, ClassLoader userClassLoader)Wraps a hook such that the user-code classloader is applied when the hook is invoked.Methods in org.apache.flink.runtime.checkpoint.hooks with parameters of type MasterTriggerRestoreHook Modifier and Type Method Description static <T> CompletableFuture<MasterState>MasterHooks. triggerHook(MasterTriggerRestoreHook<T> hook, long checkpointId, long timestamp, Executor executor)Trigger master hook and return a completable future with state.static <T> MasterTriggerRestoreHook<T>MasterHooks. wrapHook(MasterTriggerRestoreHook<T> hook, ClassLoader userClassLoader)Wraps a hook such that the user-code classloader is applied when the hook is invoked.Method parameters in org.apache.flink.runtime.checkpoint.hooks with type arguments of type MasterTriggerRestoreHook Modifier and Type Method Description static voidMasterHooks. close(Collection<MasterTriggerRestoreHook<?>> hooks, org.slf4j.Logger log)Closes the master hooks.static voidMasterHooks. reset(Collection<MasterTriggerRestoreHook<?>> hooks, org.slf4j.Logger log)Resets the master hooks.static voidMasterHooks. restoreMasterHooks(Map<String,MasterTriggerRestoreHook<?>> masterHooks, Collection<MasterState> states, long checkpointId, boolean allowUnmatchedState, org.slf4j.Logger log)Calls the restore method given checkpoint master hooks and passes the given master state to them where state with a matching name is found. -
Uses of MasterTriggerRestoreHook in org.apache.flink.runtime.executiongraph
Method parameters in org.apache.flink.runtime.executiongraph with type arguments of type MasterTriggerRestoreHook Modifier and Type Method Description voidDefaultExecutionGraph. enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig, List<MasterTriggerRestoreHook<?>> masterHooks, CheckpointIDCounter checkpointIDCounter, CompletedCheckpointStore checkpointStore, StateBackend checkpointStateBackend, CheckpointStorage checkpointStorage, CheckpointStatsTracker statsTracker, CheckpointsCleaner checkpointsCleaner, String changelogStorageName)voidExecutionGraph. enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig, List<MasterTriggerRestoreHook<?>> masterHooks, CheckpointIDCounter checkpointIDCounter, CompletedCheckpointStore checkpointStore, StateBackend checkpointStateBackend, CheckpointStorage checkpointStorage, CheckpointStatsTracker statsTracker, CheckpointsCleaner checkpointsCleaner, String changelogStorage) -
Uses of MasterTriggerRestoreHook in org.apache.flink.streaming.api.checkpoint
Methods in org.apache.flink.streaming.api.checkpoint that return MasterTriggerRestoreHook Modifier and Type Method Description MasterTriggerRestoreHook<E>WithMasterCheckpointHook. createMasterTriggerRestoreHook()Creates the hook that should be called by the checkpoint coordinator.
-