Interface TestableKeyedStateBackend<K>

All Superinterfaces:
org.apache.flink.util.Disposable, KeyedStateBackend<K>, KeyedStateFactory, PriorityQueueSetFactory
All Known Implementing Classes:
AbstractKeyedStateBackend, HeapKeyedStateBackend

@VisibleForTesting public interface TestableKeyedStateBackend<K> extends KeyedStateBackend<K>
A keyed state backend interface for internal testing purpose.
  • Method Details

    • numKeyValueStateEntries

      int numKeyValueStateEntries()
      Returns the total number of state entries across all keys/namespaces.
    • getDelegatedKeyedStateBackend

      default KeyedStateBackend<K> getDelegatedKeyedStateBackend(boolean recursive)
      Parameters:
      recursive - true if the call should be recursive
      Returns:
      delegated KeyedStateBackend if this backends delegates its responisibilities..