public static interface AcsEventPublisher.EventProcessingHandler<U>
This handler makes sense only in conjunction with using an event queue in the publisher,
because without a queue the user notices directly the successful or failed sending of an event
by either a normal return or an exception from method AcsEventPublisher.publishEvent(Object).
The user is responsible to implement the handler methods. The handler methods must return quickly and should not throw exceptions.
AcsEventPublisher#registerEventProcessingCallback(EventProcessingHandler)| Modifier and Type | Method and Description |
|---|---|
void |
eventDropped(U event)
Notification that an event was dropped because of failures and a full queue.
|
void |
eventSent(U event)
Notification that an event was sent.
|
void |
eventStoredInQueue(U event)
Notification that an event was stored in a local queue
after some problem occurred when trying to send the event immediately.
|
void eventSent(U event)
event - The event that was sent.void eventStoredInQueue(U event)
event - The event that was stored in the queue.void eventDropped(U event)
event - The event that was dropped.