Interface BatchPublisher
-
- All Known Implementing Classes:
BufferedBatchPublisher
public interface BatchPublisher
Implementations ofBatchPublisher
are 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 boolean
offer(String topic, JsonValue event)
Offers up an event to be added to a batch.void
shutdown()
Informs the publisher to stop processing offered events.void
startup()
Informs the publisher to start processing offered events.
-