Interface BatchPublisher
-
- All Known Implementing Classes:
BufferedBatchPublisher
public interface BatchPublisherImplementations ofBatchPublisherare able to consume multiple audit events and build batches out of them. These batches are then passed on to some consumer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanoffer(String topic, JsonValue event)Offers up an event to be added to a batch.voidshutdown()Informs the publisher to stop processing offered events.voidstartup()Informs the publisher to start processing offered events.
-