public interface RollingChronicleQueue extends ChronicleQueue
Modifier and Type | Field and Description |
---|---|
static long |
MINUS_1_40BIT |
Modifier and Type | Method and Description |
---|---|
long |
cycle() |
long |
epoch() |
static long |
index(long cycle,
long sequenceNumber) |
void |
release(WireStore store) |
WireStore |
storeForCycle(long cycle,
long epoch) |
static long |
toCycle(long index) |
static long |
toSequenceNumber(long index) |
clear, createAppender, createExcerpt, createTailer, firstIndex, lastIndex, path, wireType
long epoch()
@NotNull WireStore storeForCycle(long cycle, long epoch)
cycle
- the cycleepoch
- an epoch offset as the number of number of milliseconds since January 1, 1970,
00:00:00 GMTWireStore
associated with this cycle
void release(@NotNull WireStore store)
store
- the store
to releaselong cycle()
static long toSequenceNumber(long index)
static long toCycle(long index)
static long index(long cycle, long sequenceNumber)
Copyright © 2016. All rights reserved.