public interface EventStreamHandler
| Modifier and Type | Method and Description |
|---|---|
default EventStreamHandler |
getNext()
Returns the next handler in the handler chain.
|
void |
handle(java.lang.Object event,
boolean endOfBatch)
Process the event.
|
default void |
setNext(EventStreamHandler next)
Sets the next handler in the handler chain.
|
void handle(java.lang.Object event,
boolean endOfBatch)
event - the event.endOfBatch - flag to indicate if this is the last event in a batch from the channeldefault void setNext(EventStreamHandler next)
next - the next EventStreamHandlerdefault EventStreamHandler getNext()