This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Common.IContextAndTaskSubmittable Interface Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Common.IContextAndTaskSubmittable Interface Reference

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...
 

Detailed Description

Base interface for classes that support the simultaneous submission of both Context and Task configurations.

Member Function Documentation

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.

Parameters
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.

Parameters
contextConfigurationthe Configuration of the EvaluatorContext. See ContextConfiguration for details.
taskConfigurationthe Configuration of the Task. See TaskConfiguration for details.

The documentation for this interface was generated from the following file: