public interface WireStoreSupplier
| Modifier and Type | Interface and Description |
|---|---|
static class |
WireStoreSupplier.CreateStrategy |
| Modifier and Type | Method and Description |
|---|---|
@Nullable SingleChronicleQueueStore |
acquire(int cycle,
WireStoreSupplier.CreateStrategy createStrategy) |
boolean |
canBeReused(@NotNull SingleChronicleQueueStore store) |
NavigableSet<Long> |
cycles(int lowerCycle,
int upperCycle)
the cycles between a range, inclusive
|
int |
nextCycle(int currentCycle,
TailerDirection direction)
the next available cycle, no cycle will be created by this method, typically used by a
tailer.
|
@Nullable @Nullable SingleChronicleQueueStore acquire(int cycle, WireStoreSupplier.CreateStrategy createStrategy)
int nextCycle(int currentCycle,
TailerDirection direction)
throws ParseException
currentCycle - the current cycledirection - the directionParseExceptionNavigableSet<Long> cycles(int lowerCycle, int upperCycle)
lowerCycle - the lower cycle inclusiveupperCycle - the upper cycle inclusiveboolean canBeReused(@NotNull
@NotNull SingleChronicleQueueStore store)
Copyright © 2023. All rights reserved.