Interface CountWriters

All Known Subinterfaces:
CountRW, RWLogger
All Known Implementing Classes:
AbstractRWLogger, CSVLogger, GrpcLogger, PrometheusLogger, Sl4jLogger, SystemLogger

public sealed interface CountWriters permits CountRW
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 Type
    Method
    Description
    void
    Decrements the count of active writers.
    void
    Increments 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.