public class GroupCommDriverImpl extends Object implements GroupCommServiceDriver
Also starts the NameService and the NetworkService on the driver
| Constructor and Description |
|---|
GroupCommDriverImpl(ConfigurationSerializer confSerializer,
String driverId,
int fanOut,
LocalAddressProvider localAddressProvider,
TransportFactory tpFactory,
NameServer nameService)
Deprecated.
in 0.12. Use Tang to obtain an instance of this instead.
|
| 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.
|
@Deprecated @Inject public GroupCommDriverImpl(ConfigurationSerializer confSerializer, String driverId, int fanOut, LocalAddressProvider localAddressProvider, TransportFactory tpFactory, NameServer nameService)
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 © 2016 The Apache Software Foundation. All rights reserved.