Package org.apache.flink.runtime.state
Interface TestableKeyedStateBackend<K>
- All Superinterfaces:
org.apache.flink.util.Disposable,KeyedStateBackend<K>,KeyedStateFactory,PriorityQueueSetFactory
- All Known Implementing Classes:
AbstractKeyedStateBackend,HeapKeyedStateBackend
A keyed state backend interface for internal testing purpose.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.state.KeyedStateBackend
KeyedStateBackend.KeySelectionListener<K> -
Method Summary
Modifier and TypeMethodDescriptiondefault KeyedStateBackend<K>getDelegatedKeyedStateBackend(boolean recursive) intReturns the total number of state entries across all keys/namespaces.Methods inherited from interface org.apache.flink.runtime.state.KeyedStateBackend
applyToAllKeys, deregisterKeySelectionListener, dispose, getCurrentKey, getKeys, getKeysAndNamespaces, getKeySerializer, getOrCreateKeyedState, getPartitionedState, isSafeToReuseKVState, registerKeySelectionListener, setCurrentKey, setCurrentKeyAndKeyGroupMethods inherited from interface org.apache.flink.runtime.state.KeyedStateFactory
createOrUpdateInternalState, createOrUpdateInternalState, createOrUpdateInternalStateMethods inherited from interface org.apache.flink.runtime.state.PriorityQueueSetFactory
create, create
-
Method Details
-
numKeyValueStateEntries
int numKeyValueStateEntries()Returns the total number of state entries across all keys/namespaces. -
getDelegatedKeyedStateBackend
- Parameters:
recursive- true if the call should be recursive- Returns:
- delegated
KeyedStateBackendif this backends delegates its responisibilities..
-