Interface SubscribedListener<K,E,O>
- Type Parameters:
K
- the key typeE
- the event typeO
- the order type
public interface SubscribedListener<K,E,O>
An interface to hold the subscribed listener.
-
Method Summary
-
Method Details
-
key
Gets the key of this listener.- Returns:
- the key of this listener
-
eventClass
Gets the event class of this listener.- Returns:
- the event class of this listener
-
consumer
Gets theConsumer
of this listener.- Returns:
- the
Consumer
of this listener
-
order
@UnknownNullability O order()Gets the order of this listener.- Returns:
- the order of this listener
-