Package org.rocksdb
Interface StatisticsCollectorCallback
-
public interface StatisticsCollectorCallbackCallback 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhistogramCallback(HistogramType histType, HistogramData histData)Callback function to get histogram values.voidtickerCallback(TickerType tickerType, long tickerCount)Callback function to get ticker values.
-
-
-
Method Detail
-
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.
-
-