public interface RingBufferReaderStats
RingBufferReader's reading operations.
This includes the number of successful reads, missed reads and how far behind the reader is.| Modifier and Type | Method and Description |
|---|---|
long |
behind()
Calculates how far behind the RingBufferReader is relative to the write position in the Ring Buffer.
|
long |
getAndClearMissedReadCount()
Retrieves and resets the count of missed read operations performed by the RingBufferReader.
|
long |
getAndClearReadCount()
Retrieves and resets the count of successful read operations performed by the RingBufferReader.
|
long getAndClearReadCount()
long getAndClearMissedReadCount()
long behind()
Copyright © 2024. All rights reserved.