Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Single thread stage that runs the event handler More...
Inherits Org.Apache.REEF.Wake.AbstractEStage< T >.
Public Member Functions | |
SingleThreadStage (IEventHandler< T > handler, int capacity) | |
override void | OnNext (T value) |
Puts the value to the queue, which will be processed by the handler later if the queue is full, IllegalStateException is thrown More... | |
override void | Dispose () |
Closes the stage More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Org.Apache.REEF.Wake.AbstractEStage< T > | |
AbstractEStage (string meterName) | |
Constructs an abstract estage More... | |
Single thread stage that runs the event handler
|
inline |
|
inlinevirtual |
Closes the stage
Implements Org.Apache.REEF.Wake.AbstractEStage< T >.
|
inlinevirtual |
Puts the value to the queue, which will be processed by the handler later if the queue is full, IllegalStateException is thrown
value | the value |
Reimplemented from Org.Apache.REEF.Wake.AbstractEStage< T >.