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 IReplicationOrderedPacket |
compactPacket(IReplicationOrderedPacket packet,
long lastCompactionRangeKey) |
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)
public static IReplicationOrderedPacket compactPacket(IReplicationOrderedPacket packet, long lastCompactionRangeKey)
Copyright © GigaSpaces.