Class CopyOnWriteStateMap.StateMapEntry<K,N,S>
java.lang.Object
org.apache.flink.runtime.state.heap.CopyOnWriteStateMap.StateMapEntry<K,N,S>
- Type Parameters:
K- type of key.N- type of namespace.S- type of state.
- All Implemented Interfaces:
StateEntry<K,N, S>
- Enclosing class:
- CopyOnWriteStateMap<K,
N, S>
@VisibleForTesting
protected static class CopyOnWriteStateMap.StateMapEntry<K,N,S>
extends Object
implements StateEntry<K,N,S>
One entry in the
CopyOnWriteStateMap. This is a triplet of key, namespace, and state.
Thereby, key and namespace together serve as a composite key for the state. This class also
contains some management meta data for copy-on-write, a pointer to link other CopyOnWriteStateMap.StateMapEntrys to a list, and cached hash code.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateEntry
StateEntry.SimpleStateEntry<K,N, S> -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.state.StateEntry
filterOrTransform
-
Method Details
-
setState
-
getKey
Description copied from interface:StateEntryReturns the key of this entry.- Specified by:
getKeyin interfaceStateEntry<K,N, S>
-
getNamespace
Description copied from interface:StateEntryReturns the namespace of this entry.- Specified by:
getNamespacein interfaceStateEntry<K,N, S>
-
getState
Description copied from interface:StateEntryReturns the state of this entry.- Specified by:
getStatein interfaceStateEntry<K,N, S>
-
equals
-
hashCode
public final int hashCode() -
toString
-