public final class GroupCommDriverImpl extends Object implements GroupCommServiceDriver
Also starts the NameService and the NetworkService on the driver
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getContextConfiguration() |
EStage<FailedEvaluator> |
getGroupCommFailedEvaluatorStage()
Not user facing but used the Group Communication Service class.
|
EStage<FailedTask> |
getGroupCommFailedTaskStage()
Not user facing but used the Group Communication Service class.
|
EStage<RunningTask> |
getGroupCommRunningTaskStage()
Not user facing but used the Group Communication Service class.
|
Configuration |
getServiceConfiguration() |
Configuration |
getTaskConfiguration(Configuration partialTaskConf) |
boolean |
isConfigured(ActiveContext activeContext)
Tests whether the activeContext is a context configured.
|
CommunicationGroupDriver |
newCommunicationGroup(Class<? extends Name<String>> groupName,
Class<? extends Topology> topologyClass,
int numberOfTasks,
int customFanOut)
Create a new communication group with the specified name, topology implementation,
the minimum number of tasks needed in this group before
communication can start, and a custom fanOut.
|
CommunicationGroupDriver |
newCommunicationGroup(Class<? extends Name<String>> groupName,
int numberOfTasks)
Create a new communication group with the specified name.
|
CommunicationGroupDriver |
newCommunicationGroup(Class<? extends Name<String>> groupName,
int numberOfTasks,
int customFanOut)
Create a new communication group with the specified name,
the minimum number of tasks needed in this group before
communication can start, and a custom fanOut.
|
public CommunicationGroupDriver newCommunicationGroup(Class<? extends Name<String>> groupName, int numberOfTasks)
GroupCommDrivernewCommunicationGroup in interface GroupCommDriverpublic CommunicationGroupDriver newCommunicationGroup(Class<? extends Name<String>> groupName, int numberOfTasks, int customFanOut)
GroupCommDrivernewCommunicationGroup in interface GroupCommDriverpublic CommunicationGroupDriver newCommunicationGroup(Class<? extends Name<String>> groupName, Class<? extends Topology> topologyClass, int numberOfTasks, int customFanOut)
GroupCommDrivernewCommunicationGroup in interface GroupCommDriverpublic boolean isConfigured(ActiveContext activeContext)
GroupCommDriverisConfigured in interface GroupCommDriverpublic Configuration getContextConfiguration()
getContextConfiguration in interface GroupCommDriverpublic Configuration getServiceConfiguration()
getServiceConfiguration in interface GroupCommDriverpublic Configuration getTaskConfiguration(Configuration partialTaskConf)
getTaskConfiguration in interface GroupCommDriverpublic EStage<RunningTask> getGroupCommRunningTaskStage()
GroupCommServiceDrivergetGroupCommRunningTaskStage in interface GroupCommServiceDriverpublic EStage<FailedTask> getGroupCommFailedTaskStage()
GroupCommServiceDrivergetGroupCommFailedTaskStage in interface GroupCommServiceDriverpublic EStage<FailedEvaluator> getGroupCommFailedEvaluatorStage()
GroupCommServiceDrivergetGroupCommFailedEvaluatorStage in interface GroupCommServiceDriverCopyright © 2017 The Apache Software Foundation. All rights reserved.