Interface RateLimitingEventAggregator.IEventTarget<E>

Type Parameters:
E - event type
Enclosing class:
RateLimitingEventAggregator<E>

public static interface RateLimitingEventAggregator.IEventTarget<E>
Interface for the actual target for events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    receive(List<E> events)
    Receive one or more events.
  • Method Details

    • receive

      void receive(List<E> events)
      Receive one or more events.
      Parameters:
      events - a non-null list of ordered events (must contain at least one event); the list may not be modified; when the method returns, the list may be modified (therefore, if any processing is to be done asynchronously, the list of events must be copied first)