Package org.rocksdb

Interface StatisticsCollectorCallback


public interface StatisticsCollectorCallback
Callback interface provided to StatisticsCollector.

Thread safety: StatisticsCollector doesn't make any guarantees about thread safety. If the same reference of StatisticsCollectorCallback is passed to multiple StatisticsCollector references, then its the responsibility of the user to make StatisticsCollectorCallback's implementation thread-safe.

  • Method Details

    • tickerCallback

      void tickerCallback(TickerType tickerType, long tickerCount)
      Callback function to get ticker values.
      Parameters:
      tickerType - Ticker type.
      tickerCount - Value of ticker type.
    • histogramCallback

      void histogramCallback(HistogramType histType, HistogramData histData)
      Callback function to get histogram values.
      Parameters:
      histType - Histogram type.
      histData - Histogram data.