@VisibleForTesting public interface TestableKeyedStateBackend<K> extends KeyedStateBackend<K>
KeyedStateBackend.KeySelectionListener<K>
Modifier and Type | Method and Description |
---|---|
default KeyedStateBackend<K> |
getDelegatedKeyedStateBackend(boolean recursive) |
int |
numKeyValueStateEntries()
Returns the total number of state entries across all keys/namespaces.
|
applyToAllKeys, deregisterKeySelectionListener, dispose, getCurrentKey, getKeys, getKeysAndNamespaces, getKeySerializer, getOrCreateKeyedState, getPartitionedState, isSafeToReuseKVState, isStateImmutableInStateBackend, registerKeySelectionListener, setCurrentKey
createOrUpdateInternalState, createOrUpdateInternalState, createOrUpdateInternalState
create, create
int numKeyValueStateEntries()
default KeyedStateBackend<K> getDelegatedKeyedStateBackend(boolean recursive)
recursive
- true if the call should be recursiveKeyedStateBackend
if this backends delegates its
responisibilities..Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.