@DefaultImplementation(value=GroupCommDriverImpl.class) public interface GroupCommDriver
Modifier and Type | Method and Description |
---|---|
Configuration |
getContextConfiguration() |
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.
|
CommunicationGroupDriver newCommunicationGroup(Class<? extends Name<String>> groupName, int numberOfTasks)
groupName
- numberOfTasks
- CommunicationGroupDriver newCommunicationGroup(Class<? extends Name<String>> groupName, int numberOfTasks, int customFanOut)
groupName
- numberOfTasks
- customFanOut
- CommunicationGroupDriver newCommunicationGroup(Class<? extends Name<String>> groupName, Class<? extends Topology> topologyClass, int numberOfTasks, int customFanOut)
groupName
- topologyClass
- numberOfTasks
- customFanOut
- boolean isConfigured(ActiveContext activeContext)
activeContext
- Configuration getContextConfiguration()
Configuration getServiceConfiguration()
Configuration getTaskConfiguration(Configuration partialTaskConf)
Copyright © 2016 The Apache Software Foundation. All rights reserved.