| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
StateMapSnapshot<K,N,S,T extends StateMap<K,N,S>>
Base class for snapshots of a
StateMap. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CopyOnWriteStateMap<K,N,S>
Implementation of Flink's in-memory state maps with copy-on-write support.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected StateMap<K,N,S>[] |
StateTable.keyGroupedStateMaps
Map for holding the actual state objects.
|
protected T |
StateMapSnapshot.owningStateMap
The
StateMap from which this snapshot was created. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract StateMap<K,N,S> |
StateTable.createStateMap() |
StateMap<K,N,S> |
StateTable.getMapForKeyGroup(int keyGroupIndex) |
StateMap<K,N,S>[] |
StateTable.getState()
Returns the internal data structure.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected StateMapSnapshot<K,N,S,? extends StateMap<K,N,S>> |
CopyOnWriteStateTableSnapshot.getStateMapSnapshotForKeyGroup(int keyGroup) |
abstract StateMapSnapshot<K,N,S,? extends StateMap<K,N,S>> |
StateMap.stateSnapshot()
Creates a snapshot of this
StateMap, to be written in checkpointing. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StateMap.releaseSnapshot(StateMapSnapshot<K,N,S,? extends StateMap<K,N,S>> snapshotToRelease)
Releases a snapshot for this
StateMap. |
void |
CopyOnWriteStateMap.releaseSnapshot(StateMapSnapshot<K,N,S,? extends StateMap<K,N,S>> snapshotToRelease)
Releases a snapshot for this
CopyOnWriteStateMap. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.