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, performCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseQuietly, closeQuietly, notifyClosing@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
ParseExceptionpublic void closeStore(@NotNull
@NotNull SingleChronicleQueueStore store)
public NavigableSet<Long> listCyclesBetween(int lowerCycle, int upperCycle) throws ParseException
lowerCycle - the lower cycleupperCycle - the upper cycleParseExceptionCopyright © 2021. All rights reserved.