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()
StateSnapshot
StateSnapshot.StateKeyGroupWriter
and should be called in the asynchronous part
of the snapshot.getKeyGroupWriter
in interface StateSnapshot
@Nonnull public StateMetaInfoSnapshot getMetaInfoSnapshot()
StateSnapshot
getMetaInfoSnapshot
in interface StateSnapshot
@Nonnull public RegisteredPriorityQueueStateBackendMetaInfo<T> getMetaInfo()
public void release()
StateSnapshot
StateSnapshot.StateKeyGroupWriter
should no longer be used after calling this method.release
in interface StateSnapshot
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.