public static class SingleChronicleQueueExcerpts.StoreAppender extends Object implements ExcerptAppender
| Constructor and Description |
|---|
StoreAppender(SingleChronicleQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
consumeBytes(SingleChronicleQueueExcerpts.BytesConsumer consumer) |
long |
cycle() |
long |
index() |
void |
prefetch()
Hint to the underlying store to get the next page(s)
|
SingleChronicleQueue |
queue() |
long |
writeBytes(net.openhft.chronicle.bytes.Bytes bytes) |
long |
writeBytes(net.openhft.chronicle.bytes.WriteBytesMarshallable marshallable) |
long |
writeDocument(net.openhft.chronicle.wire.WriteMarshallable writer) |
net.openhft.chronicle.wire.DocumentContext |
writingDocument(boolean metaData) |
public StoreAppender(@NotNull
SingleChronicleQueue queue)
public net.openhft.chronicle.wire.DocumentContext writingDocument(boolean metaData)
writingDocument in interface ExcerptAppenderpublic long writeDocument(@NotNull
net.openhft.chronicle.wire.WriteMarshallable writer)
writeDocument in interface ExcerptAppenderwriter - to write to excerpt.public long writeBytes(@NotNull
net.openhft.chronicle.bytes.Bytes bytes)
writeBytes in interface ExcerptAppenderbytes - to write to excerpt.public long writeBytes(@NotNull
net.openhft.chronicle.bytes.WriteBytesMarshallable marshallable)
writeBytes in interface ExcerptAppendermarshallable - to write to excerpt.public long index()
index in interface ExcerptAppenderpublic long cycle()
cycle in interface ExcerptAppenderpublic void prefetch()
ExcerptCommonprefetch in interface ExcerptCommonpublic SingleChronicleQueue queue()
public boolean consumeBytes(SingleChronicleQueueExcerpts.BytesConsumer consumer) throws InterruptedException
InterruptedExceptionCopyright © 2016. All rights reserved.