public class WireStorePool
extends net.openhft.chronicle.core.io.SimpleCloseable
Modifier and Type | Method and Description |
---|---|
@Nullable SingleChronicleQueueStore |
acquire(int cycle,
long epoch,
boolean createIfAbsent,
SingleChronicleQueueStore oldStore) |
void |
closeStore(@NotNull SingleChronicleQueueStore store) |
NavigableSet<Long> |
listCyclesBetween(int lowerCycle,
int upperCycle)
list cycles between ( inclusive )
|
int |
nextCycle(int currentCycle,
@NotNull TailerDirection direction) |
static @NotNull WireStorePool |
withSupplier(@NotNull WireStoreSupplier supplier,
StoreFileListener storeFileListener) |
close, isClosed, performClose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
referenceId, referenceName, temporary
createdHere, throwExceptionIfClosed, warnAndCloseIfNotClosed
@NotNull public static @NotNull WireStorePool withSupplier(@NotNull @NotNull WireStoreSupplier supplier, StoreFileListener storeFileListener)
@Nullable public @Nullable SingleChronicleQueueStore acquire(int cycle, long epoch, boolean createIfAbsent, SingleChronicleQueueStore oldStore)
public int nextCycle(int currentCycle, @NotNull @NotNull TailerDirection direction) throws ParseException
ParseException
public void closeStore(@NotNull @NotNull SingleChronicleQueueStore store)
public NavigableSet<Long> listCyclesBetween(int lowerCycle, int upperCycle) throws ParseException
lowerCycle
- the lower cycleupperCycle
- the upper cycleParseException
Copyright © 2021. All rights reserved.