public interface RingBufferReader extends RingBufferReaderStats
Modifier and Type | Method and Description |
---|---|
void |
afterRead(long next) |
long |
beforeRead(Bytes bytes)
the readPosition and readLimit will be adjusted so that the client can read the data
|
BytesStore |
byteStore() |
boolean |
isClosed() |
boolean |
isEmpty() |
getAndClearMissedReadCount, getAndClearReadCount
boolean isEmpty()
boolean isClosed()
long beforeRead(Bytes bytes)
bytes
- who's byteStore must be the ring buffer,afterRead(long)
void afterRead(long next)
BytesStore byteStore()
Copyright © 2019. All rights reserved.