public class RedoLogCompactionUtil extends Object
Constructor and Description |
---|
RedoLogCompactionUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
calculateWeight(long weight,
long discardedCount) |
static CompactionResult |
compact(long from,
long to,
ListIterator iterator) |
static int |
compactTxn(ListIterator<IReplicationTransactionalPacketEntryData> iterator) |
static boolean |
isCompactable(IReplicationOrderedPacket packet) |
public static long calculateWeight(long weight, long discardedCount)
public static CompactionResult compact(long from, long to, ListIterator iterator)
public static int compactTxn(ListIterator<IReplicationTransactionalPacketEntryData> iterator)
public static boolean isCompactable(IReplicationOrderedPacket packet)
Copyright © GigaSpaces.