public interface RollingChronicleQueue extends ChronicleQueue
TEST_BLOCK_SIZE
Modifier and Type | Method and Description |
---|---|
int |
cycle() |
long |
epoch() |
int |
firstCycle() |
int |
lastCycle() |
java.util.function.Function<net.openhft.chronicle.wire.WireType,StoreRecovery> |
recoverySupplier() |
void |
release(WireStore store) |
RollCycle |
rollCycle() |
WireStore |
storeForCycle(int cycle,
long epoch,
boolean createIfAbsent) |
clear, createAppender, createTailer, dump, dump, dump, file, firstIndex, indexCount, indexSpacing, nextIndexToWrite, rollcycle, sourceId, wireType
long epoch()
@Nullable WireStore storeForCycle(int cycle, long epoch, boolean createIfAbsent)
cycle
- the cycleepoch
- an epoch offset as the number of number of milliseconds since January 1, 1970,
00:00:00 GMTcreateIfAbsent
- create missing stores if true, or return null if missingWireStore
associated with this cycle
, or null if !createIfAbsent is false and absentvoid release(@NotNull WireStore store)
store
- the store
to releaseint firstCycle()
int lastCycle()
int cycle()
RollCycle rollCycle()
java.util.function.Function<net.openhft.chronicle.wire.WireType,StoreRecovery> recoverySupplier()
Copyright © 2016. All rights reserved.