S - type of the implementing classpublic interface StreamingCommon<S extends StreamingCommon<S>> extends RandomCommon
StreamingDataInput and StreamingDataOutput.| Modifier and Type | Method and Description |
|---|---|
S |
clear()
Resets the read and write positions to
RandomCommon.start() and sets the
effective limits to RandomCommon.capacity(). |
addressForRead, addressForRead, addressForWrite, addressForWritePosition, byteOrder, bytesForRead, bytesForWrite, capacity, isDirectMemory, lengthWritten, readLimit, readPosition, readRemaining, realCapacity, realReadRemaining, realWriteRemaining, sharedMemory, start, writeLimit, writePosition, writeRemaining@NotNull S clear() throws net.openhft.chronicle.core.io.ClosedIllegalStateException, net.openhft.chronicle.core.io.ThreadingIllegalStateException
RandomCommon.start() and sets the
effective limits to RandomCommon.capacity(). The underlying data is left
unchanged but the buffer behaves as if newly allocated.net.openhft.chronicle.core.io.ClosedIllegalStateException - if the resource has been released or closednet.openhft.chronicle.core.io.ThreadingIllegalStateException - if accessed by multiple threads in an unsafe wayCopyright © 2026 Chronicle Software Ltd. All rights reserved.