public interface ChronicleQueueBuilder<B extends ChronicleQueueBuilder<B,Q>,Q extends ChronicleQueue> extends Cloneable
Modifier and Type | Method and Description |
---|---|
long |
blockSize() |
B |
blockSize(int blockSize) |
long |
bufferCapacity() |
B |
bufferCapacity(int bufferCapacity) |
B |
bufferCapacity(long ringBufferSize) |
boolean |
buffered() |
B |
buffered(boolean isBuffered) |
Q |
build() |
long |
epoch() |
B |
epoch(long epoch) |
net.openhft.chronicle.core.threads.EventLoop |
eventLoop() |
B |
eventLoop(net.openhft.chronicle.core.threads.EventLoop eventLoop) |
int |
indexCount() |
B |
indexCount(int indexCount) |
int |
indexSpacing() |
B |
indexSpacing(int indexSpacing) |
java.util.function.Consumer<net.openhft.chronicle.bytes.BytesRingBufferStats> |
onRingBufferStats() |
B |
onRingBufferStats(java.util.function.Consumer<net.openhft.chronicle.bytes.BytesRingBufferStats> onRingBufferStats) |
B |
onThrowable(java.util.function.Consumer<Throwable> onThrowable) |
File |
path() |
RollCycle |
rollCycle() |
B |
rollCycle(RollCycle rollCycle) |
static SingleChronicleQueueBuilder |
single(String basePath) |
static SingleChronicleQueueBuilder |
singleText(String basePath) |
WireStoreFactory |
storeFactory() |
net.openhft.chronicle.wire.WireType |
wireType() |
B |
wireType(net.openhft.chronicle.wire.WireType wireType) |
static SingleChronicleQueueBuilder single(String basePath)
static SingleChronicleQueueBuilder singleText(String basePath)
@NotNull Q build()
@NotNull B onRingBufferStats(@NotNull java.util.function.Consumer<net.openhft.chronicle.bytes.BytesRingBufferStats> onRingBufferStats)
java.util.function.Consumer<net.openhft.chronicle.bytes.BytesRingBufferStats> onRingBufferStats()
@NotNull File path()
@NotNull B blockSize(int blockSize)
long blockSize()
@NotNull B wireType(@NotNull net.openhft.chronicle.wire.WireType wireType)
@NotNull net.openhft.chronicle.wire.WireType wireType()
long bufferCapacity()
@NotNull B bufferCapacity(long ringBufferSize)
@NotNull B epoch(long epoch)
long epoch()
@NotNull RollCycle rollCycle()
@NotNull B onThrowable(@NotNull java.util.function.Consumer<Throwable> onThrowable)
@NotNull B buffered(boolean isBuffered)
boolean buffered()
@Nullable net.openhft.chronicle.core.threads.EventLoop eventLoop()
@NotNull B eventLoop(net.openhft.chronicle.core.threads.EventLoop eventLoop)
@NotNull B bufferCapacity(int bufferCapacity)
B indexCount(int indexCount)
int indexCount()
B indexSpacing(int indexSpacing)
int indexSpacing()
WireStoreFactory storeFactory()
Copyright © 2016. All rights reserved.