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