public abstract static class Excerpts.DefaultAppender<T extends ChronicleQueue> extends Object implements ExcerptAppender
Constructor and Description |
---|
DefaultAppender(T queue) |
Modifier and Type | Method and Description |
---|---|
abstract long |
cycle() |
long |
index() |
ChronicleQueue |
queue() |
long |
writeBytes(net.openhft.chronicle.bytes.Bytes<?> bytes) |
long |
writeDocument(net.openhft.chronicle.wire.WriteMarshallable writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeBytes
prefetch
public DefaultAppender(@NotNull T queue)
public long writeDocument(@NotNull net.openhft.chronicle.wire.WriteMarshallable writer)
writeDocument
in interface ExcerptAppender
writer
- to write to excerpt.public long writeBytes(@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes)
writeBytes
in interface ExcerptAppender
bytes
- to write to excerpt.public long index()
index
in interface ExcerptAppender
public abstract long cycle()
cycle
in interface ExcerptAppender
@NotNull public ChronicleQueue queue()
Copyright © 2016. All rights reserved.