Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Fill this out to configure a Driver. More...
Inherits Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder.
Static Public Attributes | |
static readonly RequiredImpl< IObserver< IDriverStarted > > | OnDriverStarted |
The event handler called after the Driver started. More... | |
static readonly OptionalImpl< IObserver< IDriverRestarted > > | OnDriverRestarted |
The event handler invoked when driver restarts More... | |
static readonly OptionalImpl< IObserver< IAllocatedEvaluator > > | OnEvaluatorAllocated |
Event handler for allocated evaluators. More... | |
static readonly OptionalImpl< IObserver< ICompletedEvaluator > > | OnEvaluatorCompleted |
Event handler for completed evaluators. More... | |
static readonly OptionalImpl< IObserver< IFailedEvaluator > > | OnEvaluatorFailed |
Event handler for failed evaluators. More... | |
static readonly OptionalImpl< IHttpHandler > | OnHttpEvent = new OptionalImpl<IHttpHandler>() |
Event handler for for HTTP calls to the Driver's HTTP server. More... | |
static readonly OptionalImpl< IObserver< ITaskMessage > > | OnTaskMessage |
Event handler for task messages. More... | |
static readonly OptionalImpl< IObserver< ICompletedTask > > | OnTaskCompleted |
Event handler for completed tasks. More... | |
static readonly OptionalImpl< IObserver< IFailedTask > > | OnTaskFailed |
Event handler for failed tasks. More... | |
static readonly OptionalImpl< IObserver< IRunningTask > > | OnTaskRunning |
static readonly OptionalImpl< IObserver< IRunningTask > > | OnDriverRestartTaskRunning |
static readonly OptionalImpl< IObserver< ISuspendedTask > > | OnTaskSuspended |
Event handler for suspended tasks. More... | |
static readonly OptionalImpl< IObserver< IActiveContext > > | OnContextActive |
Event handler for active context. More... | |
static readonly OptionalImpl< IObserver< IActiveContext > > | OnDriverRestartContextActive |
Event handler for active context received during driver restart. More... | |
static readonly OptionalImpl< IObserver< IClosedContext > > | OnContextClosed |
Event handler for closed context. More... | |
static readonly OptionalImpl< IObserver< IFailedContext > > | OnContextFailed |
Event handler for closed context. More... | |
static readonly OptionalImpl< IObserver< IContextMessage > > | OnContextMessage |
Event handler for context messages. More... | |
static readonly OptionalImpl< IObserver< IDriverRestartCompleted > > | OnDriverRestartCompleted |
Event handler for driver restart completed. More... | |
static readonly OptionalImpl< IObserver< IFailedEvaluator > > | OnDriverRestartEvaluatorFailed |
static readonly OptionalParameter< string > | CommandLineArguments = new OptionalParameter<string>() |
Additional set of string arguments that can be passed to handlers through client More... | |
static readonly OptionalParameter< string > | CustomTraceLevel = new OptionalParameter<string>() |
The trace level of the TraceListener More... | |
static readonly OptionalParameter< TraceListener > | CustomTraceListeners |
Additional set of trace listeners provided by client More... | |
static readonly OptionalImpl< IDriverConnection > | OnDriverReconnect = new OptionalImpl<IDriverConnection>() |
The implemenation for (attempting to) re-establish connection to driver TODO[JIRA REEF-1306]: Remove. More... | |
static readonly OptionalImpl< IDriverReconnConfigProvider > | DriverReconnectionConfigurationProvider |
The configuration provider for driver reconnection. More... | |
static readonly OptionalParameter< int > | DriverRestartEvaluatorRecoverySeconds = new OptionalParameter<int>() |
Evaluator recovery timeout for driver restart in seconds. More... | |
static readonly OptionalImpl< IProgressProvider > | ProgressProvider = new OptionalImpl<IProgressProvider>() |
The progress provider that will be injected at the Driver. More... | |
Properties | |
static ConfigurationModule | ConfigurationModule [get] |
Fill this out to configure a Driver.
|
static |
Additional set of string arguments that can be passed to handlers through client
|
static |
The trace level of the TraceListener
|
static |
Additional set of trace listeners provided by client
|
static |
The configuration provider for driver reconnection.
|
static |
Evaluator recovery timeout for driver restart in seconds.
If value is greater than 0, restart is enabled. The default value is -1.
|
static |
Event handler for active context.
Defaults to closing the context if not bound.
|
static |
Event handler for closed context.
Defaults to logging if not bound.
|
static |
Event handler for closed context.
Defaults to job failure if not bound.
|
static |
Event handler for context messages.
Defaults to logging if not bound.
|
static |
The implemenation for (attempting to) re-establish connection to driver TODO[JIRA REEF-1306]: Remove.
|
static |
Event handler for driver restart completed.
Defaults to logging if not bound.
|
static |
Event handler for active context received during driver restart.
Defaults to closing the context if not bound.
|
static |
The event handler invoked when driver restarts
|
static |
|
static |
|
static |
The event handler called after the Driver started.
|
static |
Event handler for allocated evaluators.
Defaults to returning the evaluator if not bound.
|
static |
Event handler for completed evaluators.
Defaults to logging if not bound.
|
static |
Event handler for failed evaluators.
Defaults to job failure if not bound.
|
static |
Event handler for for HTTP calls to the Driver's HTTP server.
|
static |
Event handler for completed tasks.
Defaults to closing the context the task ran on if not bound.
|
static |
Event handler for failed tasks.
Defaults to job failure if not bound.
|
static |
Event handler for task messages.
Defaults to logging if not bound.
|
static |
|
static |
Event handler for suspended tasks.
Defaults to job failure if not bound.
Rationale: many jobs don't support task suspension. Hence, this parameter should be optional. The only sane default is to crash the job, then.
|
static |
The progress provider that will be injected at the Driver.
|
staticget |