| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.state.changelog | |
| org.apache.flink.runtime.state.heap |
This package contains the classes for key/value state backends that store the state on the JVM
heap as objects.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected RunnableFuture<SnapshotResult<KeyedStateHandle>> |
StateSnapshotContextSynchronousImpl.keyedStateCheckpointClosingFuture |
protected RunnableFuture<SnapshotResult<OperatorStateHandle>> |
StateSnapshotContextSynchronousImpl.operatorStateCheckpointClosingFuture |
| 限定符和类型 | 方法和说明 |
|---|---|
SnapshotResult<StreamStateHandle> |
CheckpointStreamWithResultProvider.closeAndFinalizeCheckpointStreamResult()
Closes the stream ans returns a snapshot result with the stream handle(s).
|
SnapshotResult<StreamStateHandle> |
CheckpointStreamWithResultProvider.PrimaryStreamOnly.closeAndFinalizeCheckpointStreamResult() |
SnapshotResult<StreamStateHandle> |
CheckpointStreamWithResultProvider.PrimaryAndSecondaryStream.closeAndFinalizeCheckpointStreamResult() |
static <T extends StateObject> |
SnapshotResult.empty() |
SnapshotResult<KeyedStateHandle> |
FullSnapshotAsyncWriter.get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry) |
SnapshotResult<S> |
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.of(T jobManagerState) |
static SnapshotResult<KeyedStateHandle> |
CheckpointStreamWithResultProvider.toKeyedStateHandleSnapshotResult(SnapshotResult<StreamStateHandle> snapshotResult,
KeyGroupRangeOffsets keyGroupRangeOffsets,
CheckpointStreamWithResultProvider.KeyedStateHandleFactory stateHandleFactory)
Helper method that takes a
SnapshotResult and a KeyGroupRangeOffsets and creates a SnapshotResult by combining the
key groups offsets with all the present stream state handles. |
static <T extends StateObject> |
SnapshotResult.withLocalState(T jobManagerState,
T localState) |
| 限定符和类型 | 方法和说明 |
|---|---|
RunnableFuture<SnapshotResult<KeyedStateHandle>> |
StateSnapshotContextSynchronousImpl.getKeyedStateStreamFuture() |
RunnableFuture<SnapshotResult<OperatorStateHandle>> |
StateSnapshotContextSynchronousImpl.getOperatorStateStreamFuture() |
RunnableFuture<SnapshotResult<OperatorStateHandle>> |
DefaultOperatorStateBackend.snapshot(long checkpointId,
long timestamp,
CheckpointStreamFactory streamFactory,
CheckpointOptions checkpointOptions) |
RunnableFuture<SnapshotResult<T>> |
SnapshotStrategyRunner.snapshot(long checkpointId,
long timestamp,
CheckpointStreamFactory streamFactory,
CheckpointOptions checkpointOptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
static SnapshotResult<KeyedStateHandle> |
CheckpointStreamWithResultProvider.toKeyedStateHandleSnapshotResult(SnapshotResult<StreamStateHandle> snapshotResult,
KeyGroupRangeOffsets keyGroupRangeOffsets,
CheckpointStreamWithResultProvider.KeyedStateHandleFactory stateHandleFactory)
Helper method that takes a
SnapshotResult and a KeyGroupRangeOffsets and creates a SnapshotResult by combining the
key groups offsets with all the present stream state handles. |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<SnapshotResult<Handle>> |
StateChangelogWriter.persist(SequenceNumber from)
Durably persist previously
appended data starting from the
provided SequenceNumber and up to the latest change added. |
| 限定符和类型 | 方法和说明 |
|---|---|
RunnableFuture<SnapshotResult<KeyedStateHandle>> |
HeapKeyedStateBackend.snapshot(long checkpointId,
long timestamp,
CheckpointStreamFactory streamFactory,
CheckpointOptions checkpointOptions) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.