Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Base interface for classes that support the simultaneous submission of both Context and Task configurations. More...
Inherited by Org.Apache.REEF.Driver.Evaluator.IAllocatedEvaluator.
Public Member Functions | |
void | SubmitContextAndTask (IConfiguration contextConfiguration, IConfiguration taskConfiguration) |
Submit a Context and an Task. More... | |
void | SubmitContextAndServiceAndTask (IConfiguration contextConfiguration, IConfiguration serviceConfiguration, IConfiguration taskConfiguration) |
Submit a Context with Services and an Task. More... | |
Base interface for classes that support the simultaneous submission of both Context and Task configurations.
void Org.Apache.REEF.Common.IContextAndTaskSubmittable.SubmitContextAndServiceAndTask | ( | IConfiguration | contextConfiguration, |
IConfiguration | serviceConfiguration, | ||
IConfiguration | taskConfiguration | ||
) |
Submit a Context with Services and an Task.
The semantics of this call are the same as first submitting the context and services and then, on the fired ActiveContext event to submit the Task. The performance of this will be better, though as it potentially saves some roundtrips on the network. REEF will not fire an ActiveContext as a result of this. Instead, it will fire a TaskRunning event.
contextConfiguration | |
serviceConfiguration | |
taskConfiguration |
void Org.Apache.REEF.Common.IContextAndTaskSubmittable.SubmitContextAndTask | ( | IConfiguration | contextConfiguration, |
IConfiguration | taskConfiguration | ||
) |
Submit a Context and an Task.
The semantics of this call are the same as first submitting the context and then, on the fired ActiveContext event to submit the Task. The performance of this will be better, though as it potentially saves some roundtrips on the network. REEF will not fire an ActiveContext as a result of this. Instead, it will fire a TaskRunning event.
contextConfiguration | the Configuration of the EvaluatorContext. See ContextConfiguration for details. |
taskConfiguration | the Configuration of the Task. See TaskConfiguration for details. |