public interface WireStoreSupplier
Modifier and Type | Method and Description |
---|---|
@Nullable SingleChronicleQueueStore |
acquire(int cycle,
boolean createIfAbsent) |
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, boolean createIfAbsent)
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
Copyright © 2020. All rights reserved.