Interface CountReaders
- All Known Implementing Classes:
AbstractRWLogger, CSVLogger, GrpcLogger, PrometheusLogger, Sl4jLogger, SystemLogger
Interface for tracking the count of active readers in the benchmarking system.
This sealed interface is part of the reader tracking mechanism in SBK.
It provides methods to increment and decrement the count of active readers
during benchmark operations.
This interface is sealed and only permits implementation by CountRW.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDecrements the count of active readers.voidIncrements the count of active readers.
-
Method Details
-
incrementReaders
void incrementReaders()Increments the count of active readers. This method should be called when a new reader becomes active. -
decrementReaders
void decrementReaders()Decrements the count of active readers. This method should be called when a reader completes its operation or becomes inactive.
-