public interface ExcerptAppender extends ExcerptCommon, net.openhft.chronicle.wire.MarshallableOut
ChronicleQueue.| Modifier and Type | Method and Description |
|---|---|
int |
cycle() |
long |
lastIndexAppended() |
void |
writeBytes(net.openhft.chronicle.bytes.Bytes<?> bytes) |
default void |
writeBytes(long index,
net.openhft.chronicle.bytes.Bytes<?> bytes)
Write an entry at a given index.
|
sourceIdvoid writeBytes(@NotNull
net.openhft.chronicle.bytes.Bytes<?> bytes)
bytes - to write to excerpt.default void writeBytes(long index,
net.openhft.chronicle.bytes.Bytes<?> bytes)
throws StreamCorruptedException
index - to write the byte to or fail.bytes - to write.StreamCorruptedException - the write failed is was unable to write the data at the given index.long lastIndexAppended()
IllegalStateException - if no index is availableint cycle()
Copyright © 2016. All rights reserved.