public interface StatisticsCollectorCallback
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.
Modifier and Type | Method and Description |
---|---|
void |
histogramCallback(HistogramType histType,
HistogramData histData)
Callback function to get histogram values.
|
void |
tickerCallback(TickerType tickerType,
long tickerCount)
Callback function to get ticker values.
|
void tickerCallback(TickerType tickerType, long tickerCount)
tickerType
- Ticker type.tickerCount
- Value of ticker type.void histogramCallback(HistogramType histType, HistogramData histData)
histType
- Histogram type.histData
- Histogram data.