Interface UCentralKafkaConsumer.KafkaListener
-
- Enclosing class:
- UCentralKafkaConsumer
public static interface UCentralKafkaConsumer.KafkaListener
Kafka record listener interface. The inputs must NOT be mutated, as they may be passed to multiple listeners and may result in ConcurrentModificationException.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleServiceEventRecords(List<ServiceEvent> serviceEventRecords)
Handle a list of service event records.void
handleStateRecords(List<UCentralKafkaConsumer.KafkaRecord> records)
Handle a list of state records.void
handleWifiScanRecords(List<UCentralKafkaConsumer.KafkaRecord> records)
Handle a list of wifi scan records.
-
-
-
Method Detail
-
handleStateRecords
void handleStateRecords(List<UCentralKafkaConsumer.KafkaRecord> records)
Handle a list of state records.
-
handleWifiScanRecords
void handleWifiScanRecords(List<UCentralKafkaConsumer.KafkaRecord> records)
Handle a list of wifi scan records.
-
handleServiceEventRecords
void handleServiceEventRecords(List<ServiceEvent> serviceEventRecords)
Handle a list of service event records.
-
-