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 directionParseException
NavigableSet<Long> cycles(int lowerCycle, int upperCycle) throws ParseException
lowerCycle
- the lower cycle inclusiveupperCycle
- the upper cycle inclusiveParseException
boolean canBeReused(@NotNull @NotNull SingleChronicleQueueStore store)
Copyright © 2023. All rights reserved.