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.| 构造器和说明 |
|---|
KvStateEntry(InternalKvState<K,N,V> state,
ClassLoader userClassLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.