public class RestartItem extends Object
RamStore.| Modifier and Type | Class and Description |
|---|---|
static class |
RestartItem.WithSetOfKeyHandle
Used both for the "remove null keys" item and for the "submitter gone" item.
|
| Modifier and Type | Field and Description |
|---|---|
long |
chunkSeq |
static RestartItem |
END |
int |
filePos |
byte[] |
key |
KeyHandle |
keyHandle |
long |
prefix |
RamStore |
ramStore |
long |
recordSeq |
int |
size |
byte[] |
value |
| Modifier and Type | Method and Description |
|---|---|
static RestartItem |
clearedItem(ChunkFileRecord rec)
Constructs an item that corresponds to a cleared record (interred by a prefix tombstone).
|
boolean |
isClearedItem() |
boolean |
isSpecialItem()
Says whether this is a special item, either:
describing a cleared record (interred by a prefix tombstone),
requesting to remove null-keys from the
RamStore,
or the "submitter gone" item, which the submitter thread sends as the very last item.
|
public static final RestartItem END
public final long chunkSeq
public final long recordSeq
public final long prefix
public final int filePos
public final int size
public final byte[] key
public final byte[] value
public RamStore ramStore
public KeyHandle keyHandle
public final boolean isSpecialItem()
RamStore,public final boolean isClearedItem()
public static RestartItem clearedItem(ChunkFileRecord rec)
rec - the object representing the cleared record in a chunk fileCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.