| Package | Description |
|---|---|
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.state.filesystem | |
| 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.
|
| org.apache.flink.runtime.state.memory |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CheckpointStorageLocation
A storage location for one particular checkpoint, offering data persistent, metadata persistence,
and lifecycle/cleanup methods.
|
| Modifier and Type | Method and Description |
|---|---|
CheckpointStreamFactory |
CheckpointStorageWorkerView.resolveCheckpointStorageLocation(long checkpointId,
CheckpointStorageLocationReference reference)
Resolves a storage location reference into a CheckpointStreamFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static CheckpointStreamWithResultProvider |
CheckpointStreamWithResultProvider.createDuplicatingStream(long checkpointId,
CheckpointedStateScope checkpointedStateScope,
CheckpointStreamFactory primaryStreamFactory,
LocalRecoveryDirectoryProvider secondaryStreamDirProvider) |
static CheckpointStreamWithResultProvider |
CheckpointStreamWithResultProvider.createSimpleStream(CheckpointedStateScope checkpointedStateScope,
CheckpointStreamFactory primaryStreamFactory) |
RunnableFuture<SnapshotResult<OperatorStateHandle>> |
DefaultOperatorStateBackend.snapshot(long checkpointId,
long timestamp,
CheckpointStreamFactory streamFactory,
CheckpointOptions checkpointOptions) |
RunnableFuture<S> |
SnapshotStrategy.snapshot(long checkpointId,
long timestamp,
CheckpointStreamFactory streamFactory,
CheckpointOptions checkpointOptions)
Operation that writes a snapshot into a stream that is provided by the given
CheckpointStreamFactory and
returns a @RunnableFuture that gives a state handle to the snapshot. |
| Constructor and Description |
|---|
StateSnapshotContextSynchronousImpl(long checkpointId,
long checkpointTimestamp,
CheckpointStreamFactory streamFactory,
KeyGroupRange keyGroupRange,
org.apache.flink.core.fs.CloseableRegistry closableRegistry) |
| Modifier and Type | Class and Description |
|---|---|
class |
FsCheckpointStorageLocation
A storage location for checkpoints on a file system.
|
class |
FsCheckpointStreamFactory
A
CheckpointStreamFactory that produces streams that write to a FileSystem. |
| Modifier and Type | Method and Description |
|---|---|
CheckpointStreamFactory |
FsCheckpointStorage.resolveCheckpointStorageLocation(long checkpointId,
CheckpointStorageLocationReference reference) |
| Modifier and Type | Method and Description |
|---|---|
RunnableFuture<SnapshotResult<KeyedStateHandle>> |
HeapKeyedStateBackend.snapshot(long checkpointId,
long timestamp,
CheckpointStreamFactory streamFactory,
CheckpointOptions checkpointOptions) |
| Modifier and Type | Class and Description |
|---|---|
class |
MemCheckpointStreamFactory
CheckpointStreamFactory that produces streams that write to in-memory byte arrays. |
class |
NonPersistentMetadataCheckpointStorageLocation
A checkpoint storage location for the
MemoryStateBackend in case no durable persistence
for metadata has been configured. |
class |
PersistentMetadataCheckpointStorageLocation
A checkpoint storage location for the
MemoryStateBackend when it durably
persists the metadata in a file system. |
| Modifier and Type | Method and Description |
|---|---|
CheckpointStreamFactory |
MemoryBackendCheckpointStorage.resolveCheckpointStorageLocation(long checkpointId,
CheckpointStorageLocationReference reference) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.