Class KvStateEntry<K,​N,​V>

  • Type Parameters:
    K - The type of key the state is associated to
    N - The type of the namespace the state is associated to
    V - The type of values kept internally in state

    @Internal
    public class KvStateEntry<K,​N,​V>
    extends Object
    An entry holding the InternalKvState along with its KvStateInfo.
    • Method Detail

      • getUserClassLoader

        public ClassLoader getUserClassLoader()
      • getInfoForCurrentThread

        public KvStateInfo<K,​N,​V> getInfoForCurrentThread()
      • clear

        public void clear()
      • getCacheSize

        @VisibleForTesting
        public int getCacheSize()