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
InternalKvState
along with its KvStateInfo
.Constructor and Description |
---|
KvStateEntry(InternalKvState<K,N,V> state,
ClassLoader userClassLoader) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getCacheSize() |
KvStateInfo<K,N,V> |
getInfoForCurrentThread() |
InternalKvState<K,N,V> |
getState() |
ClassLoader |
getUserClassLoader() |
public KvStateEntry(InternalKvState<K,N,V> state, ClassLoader userClassLoader)
public InternalKvState<K,N,V> getState()
public ClassLoader getUserClassLoader()
public KvStateInfo<K,N,V> getInfoForCurrentThread()
public void clear()
@VisibleForTesting public int getCacheSize()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.