public class DAGSchedulerEventProcessLoop extends EventLoop<DAGSchedulerEvent> implements Logging
Constructor and Description |
---|
DAGSchedulerEventProcessLoop(DAGScheduler dagScheduler) |
Modifier and Type | Method and Description |
---|---|
void |
onError(Throwable e)
Invoked if
onReceive throws any non fatal error. |
void |
onReceive(DAGSchedulerEvent event)
The main event loop of the DAG scheduler.
|
void |
onStop()
Invoked when
stop() is called and the event thread exits. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public DAGSchedulerEventProcessLoop(DAGScheduler dagScheduler)
public void onReceive(DAGSchedulerEvent event)
public void onError(Throwable e)
EventLoop
onReceive
throws any non fatal error. Any non fatal error thrown from onError
will be ignored.public void onStop()
EventLoop
stop()
is called and the event thread exits.