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

    Modifier and Type
    Method
    Description
    void
    accept(T events)
    Performs this operation on the given argument.