public static class BleNodeConfig.DefaultHistoricalDataLogFilter extends java.lang.Object implements BleNodeConfig.HistoricalDataLogFilter
BleNodeConfig.HistoricalDataLogFilter
set on BleNodeConfig.historicalDataLogFilter
that logs the most recent data reading to memory only, flushing the previous one.BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent, BleNodeConfig.HistoricalDataLogFilter.Please, BleNodeConfig.HistoricalDataLogFilter.Source
DISABLED, PersistenceLevel_BOTH, PersistenceLevel_DISK, PersistenceLevel_MEMORY, PersistenceLevel_NONE
Constructor and Description |
---|
DefaultHistoricalDataLogFilter() |
Modifier and Type | Method and Description |
---|---|
BleNodeConfig.HistoricalDataLogFilter.Please |
onEvent(BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent e)
Implement this method to be notified of when the library requests whether historical data should be written to a log,
and to respond with your preference of if/how this data should be written.
|
public BleNodeConfig.HistoricalDataLogFilter.Please onEvent(BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent e)
BleNodeConfig.HistoricalDataLogFilter
onEvent
in interface BleNodeConfig.HistoricalDataLogFilter