Interface Event<T>

Type Parameters:
T - the class or interface of the target the Event applies to
All Known Implementing Classes:
ConsumerAckEvent, ConsumerDeliverEvent, ConsumerDropEvent, ConsumerRejectEvent, FutureEvent, PublisherPublishEvent, WorkerPublishQueueEvent
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Event<T>
A general event trigger with a target.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleEvent(T target)
    Trigger the action represented by this Event.
  • Method Details

    • handleEvent

      void handleEvent(T target)
      Trigger the action represented by this Event.
      Parameters:
      target - the class to perform an action on