Package org.graylog.events.processor
Interface EventConsumer<T>
- Type Parameters:
T- the type of the input to the operation
public interface EventConsumer<T>
Represents an operation that accepts a single input argument and returns no result.
The main difference to Consumer is that accept(Object) declares to throw a
EventProcessorException.
-
Method Summary
-
Method Details
-
accept
Performs this operation on the given argument.- Parameters:
events- the input- Throws:
EventProcessorException- thrown when event processing fails
-