Used to create Communication Groups for Group Communication Operators on the Reef driver.
More...
Inherits Org.Apache.REEF.Network.Group.Driver.IGroupCommDriver.
Used to create Communication Groups for Group Communication Operators on the Reef driver.
Also manages configuration for Group Communication tasks/services.
IConfiguration Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.GetContextConfiguration |
( |
| ) |
|
|
inline |
int Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.GetContextNum |
( |
IActiveContext |
activeContext | ) |
|
|
inline |
IConfiguration Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.GetGroupCommTaskConfiguration |
( |
string |
taskId | ) |
|
|
inline |
Get the configuration for a particular task.
The task may belong to many Communication Groups, so each one is serialized in the configuration as a SerializedGroupConfig. The user must merge their part of task configuration (task id, task class) with this returned Group Communication task configuration.
- Parameters
-
taskId | The id of the task Configuration to generate |
- Returns
- The Group Communication task configuration with communication group and operator configuration set.
Implements Org.Apache.REEF.Network.Group.Driver.IGroupCommDriver.
IConfiguration Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.GetServiceConfiguration |
( |
| ) |
|
|
inline |
bool Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.IsMasterContextConfiguration |
( |
IConfiguration |
contextConfiguration | ) |
|
|
inline |
Checks whether this context configuration is used to configure the Master Task.
- Parameters
-
contextConfiguration | The context configuration to check |
- Returns
- True if the context configuration is used to configure the Master Task, otherwise false.
Implements Org.Apache.REEF.Network.Group.Driver.IGroupCommDriver.
bool Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.IsMasterTaskContext |
( |
IActiveContext |
activeContext | ) |
|
|
inline |
ICommunicationGroupDriver Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.NewCommunicationGroup |
( |
string |
groupName, |
|
|
int |
numTasks |
|
) |
| |
|
inline |
void Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.RemoveCommunicationGroup |
( |
string |
groupName | ) |
|
|
inline |
string Org.Apache.REEF.Network.Group.Driver.Impl.GroupCommDriver.MasterTaskId |
|
get |
Returns the identifier for the master task
The documentation for this class was generated from the following file: