@InterfaceAudience.Public @InterfaceStability.Evolving public interface IOStatisticsSetters extends IOStatistics
IOStatisticsStore since IOStatistics
 was added; extracting into its own interface allows for
 IOStatisticsSnapshot to also support it.
 These are the simple setters, they don't provide for increments,
 decrements, calculation of min/max/mean etc.MAX_UNSET_VALUE, MIN_UNSET_VALUE| Modifier and Type | Method and Description | 
|---|---|
| void | setCounter(String key,
          long value)Set a counter. | 
| void | setGauge(String key,
        long value)Set a gauge. | 
| void | setMaximum(String key,
          long value)Set a maximum. | 
| void | setMeanStatistic(String key,
                MeanStatistic value)Set a mean statistic to a given value. | 
| void | setMinimum(String key,
          long value)Set a minimum. | 
counters, gauges, maximums, meanStatistics, minimumsvoid setCounter(String key, long value)
key - statistics keyvalue - value to setvoid setGauge(String key, long value)
key - statistics keyvalue - value to setvoid setMaximum(String key, long value)
key - statistics keyvalue - value to setvoid setMinimum(String key, long value)
key - statistics keyvalue - value to setvoid setMeanStatistic(String key, MeanStatistic value)
key - statistic keyvalue - new value.Copyright © 2025 Apache Software Foundation. All rights reserved.