K
- type of key.N
- type of namespace.S
- type of state.public class CopyOnWriteStateTable<K,N,S> extends StateTable<K,N,S>
StateTable
uses CopyOnWriteStateMap
. This implementation
supports asynchronous snapshots.keyContext, keyGroupedStateMaps, keyGroupOffset, keySerializer, metaInfo
Modifier and Type | Method and Description |
---|---|
protected CopyOnWriteStateMap<K,N,S> |
createStateMap() |
CopyOnWriteStateTableSnapshot<K,N,S> |
stateSnapshot()
Creates a snapshot of this
CopyOnWriteStateTable , to be written in checkpointing. |
containsKey, get, get, getKeyGroupOffset, getKeys, getKeySerializer, getMetaInfo, getNamespaceSerializer, getState, getStateIncrementalVisitor, getStateSerializer, isEmpty, iterator, keyGroupReader, put, put, remove, removeAndGetOld, setMetaInfo, size, sizeOfNamespace, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected CopyOnWriteStateMap<K,N,S> createStateMap()
createStateMap
in class StateTable<K,N,S>
@Nonnull public CopyOnWriteStateTableSnapshot<K,N,S> stateSnapshot()
CopyOnWriteStateTable
, to be written in checkpointing.CopyOnWriteStateTable
, for checkpointing.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.