| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CopyOnWriteStateTable<K,N,S>
This implementation of
StateTable uses CopyOnWriteStateMap. |
| Modifier and Type | Field and Description |
|---|---|
protected StateTable<K,N,SV> |
AbstractHeapState.stateTable
Map containing the actual key/value pairs.
|
| Modifier and Type | Method and Description |
|---|---|
StateTable<K,N,SV> |
AbstractHeapState.getStateTable()
This should only be used for testing.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,N,S> StateSnapshotKeyGroupReader |
StateTableByKeyGroupReaders.readerForVersion(StateTable<K,N,S> stateTable,
int version)
Creates a new StateTableByKeyGroupReader that inserts de-serialized mappings into the given
table, using the de-serialization algorithm that matches the given version.
|
| Constructor and Description |
|---|
HeapKeyedStateBackend(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
StreamCompressionDecorator keyGroupCompressionDecorator,
Map<String,StateTable<K,?,?>> registeredKVStates,
Map<String,HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates,
LocalRecoveryConfig localRecoveryConfig,
HeapPriorityQueueSetFactory priorityQueueSetFactory,
org.apache.flink.runtime.state.heap.HeapSnapshotStrategy<K> checkpointStrategy,
SnapshotExecutionType snapshotExecutionType,
org.apache.flink.runtime.state.heap.StateTableFactory<K> stateTableFactory,
InternalKeyContext<K> keyContext) |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.