public static class Excerpts.StoreAppender extends Excerpts.DefaultAppender<AbstractChronicleQueue>
Constructor and Description |
---|
StoreAppender(AbstractChronicleQueue queue) |
Modifier and Type | Method and Description |
---|---|
long |
cycle() |
long |
index() |
void |
prefetch()
Hint to the underlying store to get the next page(s)
|
long |
writeBytes(net.openhft.chronicle.bytes.Bytes bytes) |
long |
writeBytes(net.openhft.chronicle.bytes.WriteBytesMarshallable marshallable) |
long |
writeDocument(net.openhft.chronicle.wire.WriteMarshallable writer) |
queue
public StoreAppender(@NotNull AbstractChronicleQueue queue)
public long writeDocument(@NotNull net.openhft.chronicle.wire.WriteMarshallable writer)
writeDocument
in interface ExcerptAppender
writeDocument
in class Excerpts.DefaultAppender<AbstractChronicleQueue>
writer
- to write to excerpt.public long writeBytes(@NotNull net.openhft.chronicle.bytes.WriteBytesMarshallable marshallable)
marshallable
- to write to excerpt.public long writeBytes(@NotNull net.openhft.chronicle.bytes.Bytes bytes)
writeBytes
in interface ExcerptAppender
writeBytes
in class Excerpts.DefaultAppender<AbstractChronicleQueue>
bytes
- to write to excerpt.public long index()
index
in interface ExcerptAppender
index
in class Excerpts.DefaultAppender<AbstractChronicleQueue>
public long cycle()
cycle
in interface ExcerptAppender
cycle
in class Excerpts.DefaultAppender<AbstractChronicleQueue>
public void prefetch()
ExcerptCommon
Copyright © 2016. All rights reserved.