Uses of Class
org.apache.flink.runtime.state.SnapshotResult
Packages that use SnapshotResult
Package
Description
This package contains the classes for key/value state backends that store the state on the JVM
heap as objects.
-
Uses of SnapshotResult in org.apache.flink.runtime.state
Fields in org.apache.flink.runtime.state with type parameters of type SnapshotResultModifier and TypeFieldDescriptionprotected RunnableFuture<SnapshotResult<KeyedStateHandle>>StateSnapshotContextSynchronousImpl.keyedStateCheckpointClosingFutureprotected RunnableFuture<SnapshotResult<OperatorStateHandle>>StateSnapshotContextSynchronousImpl.operatorStateCheckpointClosingFutureMethods in org.apache.flink.runtime.state that return SnapshotResultModifier and TypeMethodDescriptionCheckpointStreamWithResultProvider.closeAndFinalizeCheckpointStreamResult()Closes the stream ans returns a snapshot result with the stream handle(s).CheckpointStreamWithResultProvider.PrimaryAndSecondaryStream.closeAndFinalizeCheckpointStreamResult()CheckpointStreamWithResultProvider.PrimaryStreamOnly.closeAndFinalizeCheckpointStreamResult()static <T extends StateObject>
SnapshotResult<T>SnapshotResult.empty()FullSnapshotAsyncWriter.get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry) SnapshotStrategy.SnapshotResultSupplier.get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry) Performs the asynchronous part of a checkpoint and returns the snapshot result.static <T extends StateObject>
SnapshotResult<T>SnapshotResult.of(T jobManagerState) static SnapshotResult<KeyedStateHandle>CheckpointStreamWithResultProvider.toKeyedStateHandleSnapshotResult(SnapshotResult<StreamStateHandle> snapshotResult, KeyGroupRangeOffsets keyGroupRangeOffsets, CheckpointStreamWithResultProvider.KeyedStateHandleFactory stateHandleFactory) Helper method that takes aSnapshotResult<StreamStateHandle>and aKeyGroupRangeOffsetsand creates aSnapshotResult<KeyedStateHandle>by combining the key groups offsets with all the present stream state handles.static <T extends StateObject>
SnapshotResult<T>SnapshotResult.withLocalState(T jobManagerState, T localState) Methods in org.apache.flink.runtime.state that return types with arguments of type SnapshotResultModifier and TypeMethodDescriptionStateSnapshotContextSynchronousImpl.getKeyedStateStreamFuture()StateSnapshotContextSynchronousImpl.getOperatorStateStreamFuture()DefaultOperatorStateBackend.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) final RunnableFuture<SnapshotResult<T>>SnapshotStrategyRunner.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) Methods in org.apache.flink.runtime.state with parameters of type SnapshotResultModifier and TypeMethodDescriptionstatic SnapshotResult<KeyedStateHandle>CheckpointStreamWithResultProvider.toKeyedStateHandleSnapshotResult(SnapshotResult<StreamStateHandle> snapshotResult, KeyGroupRangeOffsets keyGroupRangeOffsets, CheckpointStreamWithResultProvider.KeyedStateHandleFactory stateHandleFactory) Helper method that takes aSnapshotResult<StreamStateHandle>and aKeyGroupRangeOffsetsand creates aSnapshotResult<KeyedStateHandle>by combining the key groups offsets with all the present stream state handles. -
Uses of SnapshotResult in org.apache.flink.runtime.state.changelog
Methods in org.apache.flink.runtime.state.changelog that return types with arguments of type SnapshotResultModifier and TypeMethodDescriptionStateChangelogWriter.persist(SequenceNumber from, long checkpointId) Durably persist previouslyappendeddata starting from the providedSequenceNumberand up to the latest change added. -
Uses of SnapshotResult in org.apache.flink.runtime.state.heap
Methods in org.apache.flink.runtime.state.heap that return types with arguments of type SnapshotResultModifier and TypeMethodDescriptionHeapKeyedStateBackend.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) -
Uses of SnapshotResult in org.apache.flink.runtime.state.v2.adaptor
Methods in org.apache.flink.runtime.state.v2.adaptor that return types with arguments of type SnapshotResultModifier and TypeMethodDescriptionAsyncKeyedStateBackendAdaptor.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions) -
Uses of SnapshotResult in org.apache.flink.streaming.api.operators
Methods in org.apache.flink.streaming.api.operators that return types with arguments of type SnapshotResultModifier and TypeMethodDescriptionOperatorSnapshotFutures.getInputChannelStateFuture()OperatorSnapshotFutures.getKeyedStateManagedFuture()OperatorSnapshotFutures.getKeyedStateRawFuture()OperatorSnapshotFutures.getOperatorStateManagedFuture()OperatorSnapshotFutures.getOperatorStateRawFuture()OperatorSnapshotFutures.getResultSubpartitionStateFuture()Method parameters in org.apache.flink.streaming.api.operators with type arguments of type SnapshotResultModifier and TypeMethodDescriptionvoidOperatorSnapshotFutures.setInputChannelStateFuture(Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> inputChannelStateFuture) voidOperatorSnapshotFutures.setKeyedStateManagedFuture(RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateManagedFuture) voidOperatorSnapshotFutures.setKeyedStateRawFuture(RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateRawFuture) voidOperatorSnapshotFutures.setOperatorStateManagedFuture(RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateManagedFuture) voidOperatorSnapshotFutures.setOperatorStateRawFuture(RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateRawFuture) voidOperatorSnapshotFutures.setResultSubpartitionStateFuture(Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> resultSubpartitionStateFuture) Constructor parameters in org.apache.flink.streaming.api.operators with type arguments of type SnapshotResultModifierConstructorDescriptionOperatorSnapshotFutures(RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateManagedFuture, RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateRawFuture, RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateManagedFuture, RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateRawFuture, Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> inputChannelStateFuture, Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> resultSubpartitionStateFuture) OperatorSnapshotFutures(RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateManagedFuture, RunnableFuture<SnapshotResult<KeyedStateHandle>> keyedStateRawFuture, RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateManagedFuture, RunnableFuture<SnapshotResult<OperatorStateHandle>> operatorStateRawFuture, Future<SnapshotResult<StateObjectCollection<InputChannelStateHandle>>> inputChannelStateFuture, Future<SnapshotResult<StateObjectCollection<ResultSubpartitionStateHandle>>> resultSubpartitionStateFuture) -
Uses of SnapshotResult in org.apache.flink.streaming.api.operators.sorted.state
Methods in org.apache.flink.streaming.api.operators.sorted.state that return types with arguments of type SnapshotResultModifier and TypeMethodDescriptionBatchExecutionKeyedStateBackend.snapshot(long checkpointId, long timestamp, CheckpointStreamFactory streamFactory, CheckpointOptions checkpointOptions)