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.
A general event trigger with a target.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(T target) Trigger the action represented by this Event.
-
Method Details
-
handleEvent
Trigger the action represented by this Event.- Parameters:
target
- the class to perform an action on
-