Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Performs a Pull-to-Push conversion in Wake. More...
Inherits Org.Apache.REEF.Wake.Util.IStartable, and IDisposable.
Public Member Functions | |
Pull2Push (IEventHandler< T > output) | |
Constructs a new Pull2Push object More... | |
void | Register (IEventSource< T > source) |
Registers an event source. More... | |
void | Start () |
Executes the message loop. More... | |
void | Dispose () |
Performs a Pull-to-Push conversion in Wake.
Performs a Pull-to-Push conversion in Wake. The class pulls from a set of event sources, and pushes to a single EventHandler. If the downstream event handler blocks, this will block, providing a simple rate limiting scheme. The EventSources are managed in a basic Queue.
|
inline |
|
inline |
|
inline |
Registers an event source.
source | The source that will be added to the queue of this Pull2Push |
|
inline |
Executes the message loop.
Implements Org.Apache.REEF.Wake.Util.IStartable.