public final class TrackerMapOnHeap extends TrackerMapBase
TrackerMap.CursorliveTombstones, liveValues| Constructor and Description |
|---|
TrackerMapOnHeap() |
| Modifier and Type | Method and Description |
|---|---|
TrackerMap.Cursor |
cursor() |
void |
dispose() |
Tracker |
get(KeyHandle kh)
Returns the tracker mapped by the supplied
KeyHandle, if any; otherwise
returns null. |
Tracker |
putIfAbsent(KeyHandle kh,
long chunkSeq,
boolean isTombstone)
If there is no current mapping for
kh, establishes a mapping from
kh to a tracker defined by (chunkSeq, isTombstone)
and returns null. |
long |
size() |
removeIfDead, removeLiveTombstone, toStringpublic Tracker putIfAbsent(KeyHandle kh, long chunkSeq, boolean isTombstone)
TrackerMapkh, establishes a mapping from
kh to a tracker defined by (chunkSeq, isTombstone)
and returns null. If a mapping already exists, returns the existing
tracker without updating it.public Tracker get(KeyHandle kh)
TrackerMapKeyHandle, if any; otherwise
returns null.
Warning! The returned instance is valid only up to the next operation
on this map, including another get. The caller should generally not retain it.public long size()
public TrackerMap.Cursor cursor()
public void dispose()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.