|
Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Event handler to provide publish/subscribe interfaces More...
Inherits Org.Apache.REEF.Wake.IEventHandler< T >.
Public Member Functions | |
| PubSubEventHandler () | |
| Construct a pub-sub event handler More... | |
| void | Subscribe< U > (IEventHandler< U > handler) |
| Subscribe an event handler for an event type More... | |
| void | OnNext (T value) |
| Invoke the subscribed handlers for the event class type More... | |
Event handler to provide publish/subscribe interfaces
| T | The type of event handler |
|
inline |
Construct a pub-sub event handler
|
inline |
Invoke the subscribed handlers for the event class type
| value | The event to process |
Implements Org.Apache.REEF.Wake.IEventHandler< T >.
|
inline |
Subscribe an event handler for an event type
| U | The type of event handler |
| handler | The event handler |
| U | : | T |
1.8.11