|
Apache REEF
0.16.0
Retainable Evaluator Execution Framework
|
Used by Tasks to fetch CommunicationGroupClients. More...
Inherits Org.Apache.REEF.Network.Group.Task.IGroupCommClient.
Public Member Functions | |
| GroupCommClient ([Parameter(typeof(GroupCommConfigurationOptions.SerializedGroupConfigs))] ISet< string > groupConfigs, [Parameter(typeof(TaskConfigurationOptions.Identifier))] string taskId, StreamingNetworkService< GeneralGroupCommunicationMessage > networkService, AvroConfigurationSerializer configSerializer, IInjector injector) | |
| Creates a new WritableGroupCommClient and registers the task ID with the Name Server. More... | |
| void | Initialize (CancellationTokenSource cancellationSource=null) |
| This is to ensure all the nodes in the groups are registered before starting communications. More... | |
| ICommunicationGroupClient | GetCommunicationGroup (string groupName) |
| Gets the CommunicationGroupClient for the given group name. More... | |
| void | Dispose () |
| Disposes of the GroupCommClient's services. More... | |
Used by Tasks to fetch CommunicationGroupClients.
Writable version
|
inline |
Creates a new WritableGroupCommClient and registers the task ID with the Name Server.
| groupConfigs | The set of serialized Group Communication configurations |
| taskId | The identifier for this task |
| networkService | The writable network service used to send messages |
| configSerializer | Used to deserialize Group Communication configuration |
| injector | injector forked from the injector that creates this instance |
|
inline |
Disposes of the GroupCommClient's services.
|
inline |
Gets the CommunicationGroupClient for the given group name.
| groupName | The name of the CommunicationGroupClient |
Implements Org.Apache.REEF.Network.Group.Task.IGroupCommClient.
|
inline |
This is to ensure all the nodes in the groups are registered before starting communications.
| cancellationSource |
Implements Org.Apache.REEF.Network.Group.Task.IGroupCommClient.
1.8.14