public class PrefixTombstoneManager extends Object
HotRestartStore.clear(boolean, long...) operation.| Modifier and Type | Field and Description |
|---|---|
static String |
NEW_FILE_SUFFIX |
static int |
SWEEPING_TIMESLICE_MS |
| Modifier and Type | Method and Description |
|---|---|
void |
addPrefixTombstones(long[] prefixes)
Adds prefix tombstones for the given key prefixes.
|
void |
backup(File targetDir)
Copies the prefix tombstone file to the target directory.
|
boolean |
dismissGarbage(Chunk chunk)
Propagates the effects of all prefix tombstones to the given chunk.
|
long |
maxRecordSeq()
Returns the maximum observed record seq in the collector prefix tombstone list, regardless of prefix
|
void |
setPrefixTombstones(com.hazelcast.util.collection.Long2LongHashMap prefixTombstones)
Initializes this object with the existing prefix tombstones reloaded from a file.
|
public static final String NEW_FILE_SUFFIX
public static final int SWEEPING_TIMESLICE_MS
public long maxRecordSeq()
public void setPrefixTombstones(com.hazelcast.util.collection.Long2LongHashMap prefixTombstones)
public void addPrefixTombstones(long[] prefixes)
public boolean dismissGarbage(Chunk chunk)
dismissGarbage(ActiveValChunk, long[])).public void backup(File targetDir)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.