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 |
StateMapSnapshot<K,N,S,T extends StateMap<K,N,S>>
Base class for snapshots of a
StateMap . |
Modifier and Type | Class and Description |
---|---|
class |
CopyOnWriteSkipListStateMap<K,N,S>
Implementation of state map which is based on skip list with copy-on-write support. states will
be serialized to bytes and stored in the space allocated with the given allocator.
|
class |
CopyOnWriteStateMap<K,N,S>
Implementation of Flink's in-memory state maps with copy-on-write support.
|
Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
void |
CopyOnWriteSkipListStateMap.releaseSnapshot(StateMapSnapshot<K,N,S,? extends StateMap<K,N,S>> snapshotToRelease) |
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–2024 The Apache Software Foundation. All rights reserved.