T - the type of the input to the operationpublic interface EventConsumer<T>
The main difference to Consumer is that accept(Object) declares to throw a
EventProcessorException.
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T events)
Performs this operation on the given argument.
|
void accept(T events) throws EventProcessorException
events - the inputEventProcessorException - thrown when event processing failsCopyright © 2012–2021 Graylog, Inc.. All rights reserved.