public interface ExcerptAppender extends ExcerptCommon<ExcerptAppender>, 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.
|
lazyIndexing, lazyIndexing, sourceId
void writeBytes(@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes) throws net.openhft.chronicle.wire.UnrecoverableTimeoutException
bytes
- to write to excerpt.net.openhft.chronicle.wire.UnrecoverableTimeoutException
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.