Package org.apache.flink.runtime.query
Class KvStateEntry<K,N,V>
- java.lang.Object
-
- org.apache.flink.runtime.query.KvStateEntry<K,N,V>
-
- Type Parameters:
K
- The type of key the state is associated toN
- The type of the namespace the state is associated toV
- The type of values kept internally in state
@Internal public class KvStateEntry<K,N,V> extends Object
An entry holding theInternalKvState
along with itsKvStateInfo
.
-
-
Constructor Summary
Constructors Constructor Description KvStateEntry(InternalKvState<K,N,V> state, ClassLoader userClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
getCacheSize()
KvStateInfo<K,N,V>
getInfoForCurrentThread()
InternalKvState<K,N,V>
getState()
ClassLoader
getUserClassLoader()
-
-
-
Constructor Detail
-
KvStateEntry
public KvStateEntry(InternalKvState<K,N,V> state, ClassLoader userClassLoader)
-
-
Method Detail
-
getState
public InternalKvState<K,N,V> getState()
-
getUserClassLoader
public ClassLoader getUserClassLoader()
-
getInfoForCurrentThread
public KvStateInfo<K,N,V> getInfoForCurrentThread()
-
clear
public void clear()
-
getCacheSize
@VisibleForTesting public int getCacheSize()
-
-