Uses of Interface
org.apache.flink.runtime.checkpoint.MasterTriggerRestoreHook
Packages that use MasterTriggerRestoreHook
Package
Description
-
Uses of MasterTriggerRestoreHook in org.apache.flink.runtime.checkpoint
Methods in org.apache.flink.runtime.checkpoint that return MasterTriggerRestoreHookModifier and TypeMethodDescription<V> MasterTriggerRestoreHook<V>MasterTriggerRestoreHook.Factory.create()Instantiates theMasterTriggerRestoreHook.Methods in org.apache.flink.runtime.checkpoint with parameters of type MasterTriggerRestoreHookModifier and TypeMethodDescriptionbooleanCheckpointCoordinator.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 MasterTriggerRestoreHookModifier and TypeMethodDescriptionstatic <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 MasterTriggerRestoreHookModifier and TypeMethodDescriptionstatic <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 MasterTriggerRestoreHookModifier and TypeMethodDescriptionstatic 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 MasterTriggerRestoreHookModifier and TypeMethodDescriptionvoidDefaultExecutionGraph.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 MasterTriggerRestoreHookModifier and TypeMethodDescriptionWithMasterCheckpointHook.createMasterTriggerRestoreHook()Creates the hook that should be called by the checkpoint coordinator.