T - type of the state elements.public class HeapPriorityQueueStateSnapshot<T> extends Object implements StateSnapshot
HeapPriorityQueueSet.StateSnapshot.StateKeyGroupWriter| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
getIteratorForKeyGroup(int keyGroupId) |
StateSnapshot.StateKeyGroupWriter |
getKeyGroupWriter()
This method returns
StateSnapshot.StateKeyGroupWriter and should be called in the asynchronous part
of the snapshot. |
RegisteredPriorityQueueStateBackendMetaInfo<T> |
getMetaInfo() |
StateMetaInfoSnapshot |
getMetaInfoSnapshot()
Returns a snapshot of the state's meta data.
|
void |
release()
Release the snapshot.
|
@Nonnull public StateSnapshot.StateKeyGroupWriter getKeyGroupWriter()
StateSnapshotStateSnapshot.StateKeyGroupWriter and should be called in the asynchronous part
of the snapshot.getKeyGroupWriter in interface StateSnapshot@Nonnull public StateMetaInfoSnapshot getMetaInfoSnapshot()
StateSnapshotgetMetaInfoSnapshot in interface StateSnapshot@Nonnull public RegisteredPriorityQueueStateBackendMetaInfo<T> getMetaInfo()
public void release()
StateSnapshotStateSnapshot.StateKeyGroupWriter should no longer be used after calling this method.release in interface StateSnapshotCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.