Uses of Class
org.apache.flink.runtime.checkpoint.CheckpointOptions
Packages that use CheckpointOptions
Package
Description
This package contains the classes for key/value state backends that store the state on the JVM
heap as objects.
-
Uses of CheckpointOptions in org.apache.flink.runtime.checkpoint
Methods in org.apache.flink.runtime.checkpoint that return CheckpointOptionsModifier and TypeMethodDescriptionstatic CheckpointOptionsCheckpointOptions.alignedNoTimeout(SnapshotType type, CheckpointStorageLocationReference location) static CheckpointOptionsCheckpointOptions.alignedWithTimeout(SnapshotType type, CheckpointStorageLocationReference location, long alignedCheckpointTimeout) static CheckpointOptionsCheckpointOptions.forCheckpointWithDefaultLocation()static CheckpointOptionsCheckpointOptions.forConfig(SnapshotType checkpointType, CheckpointStorageLocationReference locationReference, boolean isExactlyOnceMode, boolean isUnalignedEnabled, long alignedCheckpointTimeout) static CheckpointOptionsCheckpointOptions.notExactlyOnce(SnapshotType type, CheckpointStorageLocationReference location) CheckpointOptions.toUnaligned()static CheckpointOptionsCheckpointOptions.unaligned(SnapshotType type, CheckpointStorageLocationReference location) CheckpointOptions.withUnalignedSupported()CheckpointOptions.withUnalignedUnsupported() -
Uses of CheckpointOptions in org.apache.flink.runtime.checkpoint.channel
Methods in org.apache.flink.runtime.checkpoint.channel with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionvoidChannelStateWriter.NoOpChannelStateWriter.start(long checkpointId, CheckpointOptions checkpointOptions) voidChannelStateWriter.start(long checkpointId, CheckpointOptions checkpointOptions) Initiate write of channel state for the given checkpoint id.voidChannelStateWriterImpl.start(long checkpointId, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.executiongraph
Methods in org.apache.flink.runtime.executiongraph with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionExecution.triggerCheckpoint(long checkpointId, long timestamp, CheckpointOptions checkpointOptions) Trigger a new checkpoint on the task of this execution.Execution.triggerSynchronousSavepoint(long checkpointId, long timestamp, CheckpointOptions checkpointOptions) Trigger a new checkpoint on the task of this execution. -
Uses of CheckpointOptions in org.apache.flink.runtime.io.network.api
Methods in org.apache.flink.runtime.io.network.api that return CheckpointOptionsMethods in org.apache.flink.runtime.io.network.api with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionCheckpointBarrier.withOptions(CheckpointOptions checkpointOptions) Constructors in org.apache.flink.runtime.io.network.api with parameters of type CheckpointOptionsModifierConstructorDescriptionCheckpointBarrier(long id, long timestamp, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.jobgraph.tasks
Methods in org.apache.flink.runtime.jobgraph.tasks with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionAbstractInvokable.triggerCheckpointAsync(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions) CheckpointableTask.triggerCheckpointAsync(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions) This method is called to trigger a checkpoint, asynchronously by the checkpoint coordinator.voidAbstractInvokable.triggerCheckpointOnBarrier(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, CheckpointMetricsBuilder checkpointMetrics) voidCheckpointableTask.triggerCheckpointOnBarrier(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, CheckpointMetricsBuilder checkpointMetrics) This method is called when a checkpoint is triggered as a result of receiving checkpoint barriers on all input streams. -
Uses of CheckpointOptions in org.apache.flink.runtime.jobmanager.slots
Methods in org.apache.flink.runtime.jobmanager.slots with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionTaskManagerGateway.triggerCheckpoint(ExecutionAttemptID executionAttemptID, org.apache.flink.api.common.JobID jobId, long checkpointId, long timestamp, CheckpointOptions checkpointOptions) Trigger for the given task a checkpoint. -
Uses of CheckpointOptions in org.apache.flink.runtime.jobmaster
Methods in org.apache.flink.runtime.jobmaster with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionRpcTaskManagerGateway.triggerCheckpoint(ExecutionAttemptID executionAttemptID, org.apache.flink.api.common.JobID jobId, long checkpointId, long timestamp, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.state
Methods in org.apache.flink.runtime.state with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionSavepointSnapshotStrategy.asyncSnapshot(FullSnapshotResources<K> savepointResources, long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) SnapshotStrategy.asyncSnapshot(SR syncPartResource, long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) Operation that writes a snapshot into a stream that is provided by the givenCheckpointStreamFactoryand returns a @SupplierWithExceptionthat gives a state handle to the snapshot.DefaultOperatorStateBackend.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) Snapshotable.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) Operation that writes a snapshot into a stream that is provided by the givenCheckpointStreamFactoryand returns a @RunnableFuturethat gives a state handle to the snapshot.final RunnableFuture<SnapshotResult<T>>SnapshotStrategyRunner.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.state.heap
Methods in org.apache.flink.runtime.state.heap with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionHeapKeyedStateBackend.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.state.v2.adaptor
Methods in org.apache.flink.runtime.state.v2.adaptor with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionAsyncKeyedStateBackendAdaptor.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.taskexecutor
Methods in org.apache.flink.runtime.taskexecutor with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionTaskExecutor.triggerCheckpoint(ExecutionAttemptID executionAttemptID, long checkpointId, long checkpointTimestamp, CheckpointOptions checkpointOptions) TaskExecutorGateway.triggerCheckpoint(ExecutionAttemptID executionAttemptID, long checkpointID, long checkpointTimestamp, CheckpointOptions checkpointOptions) Trigger the checkpoint for the given task.TaskExecutorGatewayDecoratorBase.triggerCheckpoint(ExecutionAttemptID executionAttemptID, long checkpointID, long checkpointTimestamp, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.runtime.taskmanager
Methods in org.apache.flink.runtime.taskmanager with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionvoidTask.triggerCheckpointBarrier(long checkpointID, long checkpointTimestamp, CheckpointOptions checkpointOptions) Calls the invokable to trigger a checkpoint. -
Uses of CheckpointOptions in org.apache.flink.streaming.api.operators
Methods in org.apache.flink.streaming.api.operators with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionAbstractStreamOperator.snapshotState(long checkpointId, long timestamp, CheckpointOptions checkpointOptions, CheckpointStreamFactory factory) AbstractStreamOperatorV2.snapshotState(long checkpointId, long timestamp, CheckpointOptions checkpointOptions, CheckpointStreamFactory factory) StreamOperator.snapshotState(long checkpointId, long timestamp, CheckpointOptions checkpointOptions, CheckpointStreamFactory storageLocation) Called to draw a state snapshot from the operator.StreamOperatorStateHandler.snapshotState(StreamOperatorStateHandler.CheckpointedStreamOperator streamOperator, Optional<InternalTimeServiceManager<?>> timeServiceManager, String operatorName, long checkpointId, long timestamp, CheckpointOptions checkpointOptions, CheckpointStreamFactory factory, boolean isUsingCustomRawKeyedState, boolean useAsyncState) -
Uses of CheckpointOptions in org.apache.flink.streaming.api.operators.sorted.state
Methods in org.apache.flink.streaming.api.operators.sorted.state with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionBatchExecutionKeyedStateBackend.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) -
Uses of CheckpointOptions in org.apache.flink.streaming.runtime.tasks
Methods in org.apache.flink.streaming.runtime.tasks with parameters of type CheckpointOptionsModifier and TypeMethodDescriptionvoidSubtaskCheckpointCoordinator.checkpointState(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, CheckpointMetricsBuilder checkpointMetrics, OperatorChain<?, ?> operatorChain, boolean isTaskFinished, Supplier<Boolean> isRunning) Must be called afterSubtaskCheckpointCoordinator.initInputsCheckpoint(long, CheckpointOptions).voidSubtaskCheckpointCoordinator.initInputsCheckpoint(long id, CheckpointOptions checkpointOptions) Initialize new checkpoint.voidFinishedOperatorChain.snapshotState(Map<OperatorID, OperatorSnapshotFutures> operatorSnapshotsInProgress, CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, Supplier<Boolean> isRunning, ChannelStateWriter.ChannelStateWriteResult channelStateWriteResult, CheckpointStreamFactory storage) abstract voidOperatorChain.snapshotState(Map<OperatorID, OperatorSnapshotFutures> operatorSnapshotsInProgress, CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, Supplier<Boolean> isRunning, ChannelStateWriter.ChannelStateWriteResult channelStateWriteResult, CheckpointStreamFactory storage) voidRegularOperatorChain.snapshotState(Map<OperatorID, OperatorSnapshotFutures> operatorSnapshotsInProgress, CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, Supplier<Boolean> isRunning, ChannelStateWriter.ChannelStateWriteResult channelStateWriteResult, CheckpointStreamFactory storage) MultipleInputStreamTask.triggerCheckpointAsync(CheckpointMetaData metadata, CheckpointOptions options) SourceOperatorStreamTask.triggerCheckpointAsync(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions) SourceStreamTask.triggerCheckpointAsync(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions) Deprecated.StreamTask.triggerCheckpointAsync(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions) voidMultipleInputStreamTask.triggerCheckpointOnBarrier(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, CheckpointMetricsBuilder checkpointMetrics) voidStreamTask.triggerCheckpointOnBarrier(CheckpointMetaData checkpointMetaData, CheckpointOptions checkpointOptions, CheckpointMetricsBuilder checkpointMetrics)