|
Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Handler to process an event in a way that has certain probability of failure within certain inverval of time. More...
Inherits IObserver< T >.
Public Member Functions | |
| void | OnNext (T value) |
| Throws a PoisonException with probability CrashProbability between time CrashMinDelay and CrashMinDelay + CrashTimeout. More... | |
| void | OnError (Exception error) |
| void | OnCompleted () |
Handler to process an event in a way that has certain probability of failure within certain inverval of time.
| T | The type of event |
|
inline |
|
inline |
|
inline |
Throws a PoisonException with probability CrashProbability between time CrashMinDelay and CrashMinDelay + CrashTimeout.
Uses a separate thread to throw the exception.
1.8.11