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 Summary
Modifier and TypeMethodDescriptionvoidhistogramCallback(HistogramType histType, HistogramData histData) Callback function to get histogram values.voidtickerCallback(TickerType tickerType, long tickerCount) Callback function to get ticker values.
-
Method Details
-
tickerCallback
Callback function to get ticker values.- Parameters:
tickerType- Ticker type.tickerCount- Value of ticker type.
-
histogramCallback
Callback function to get histogram values.- Parameters:
histType- Histogram type.histData- Histogram data.
-