Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Client for the Reef name service. More...
Inherits IDisposable.
Inherited by Org.Apache.REEF.Network.Naming.NameClient.
Public Member Functions | |
void | Register (string id, IPEndPoint endpoint) |
Registers the identifier with the NameService. More... | |
void | Unregister (string id) |
Unregisters the remote identifier with the NameService More... | |
IPEndPoint | Lookup (string id) |
Looks up the IPEndpoint for the registered identifier. More... | |
IPEndPoint | CacheLookup (string id) |
Looks up the IPEndpoint for the registered identifier. More... | |
List< NameAssignment > | Lookup (List< string > ids) |
Looks up the IPEndpoint for each of the registered identifiers in the list. More... | |
void | Restart (IPEndPoint serverEndpoint) |
Restart the name client in case of failure. More... | |
Client for the Reef name service.
Used to register, unregister, and lookup IP Addresses of known hosts.
IPEndPoint Org.Apache.REEF.Common.Io.INameClient.CacheLookup | ( | string | id | ) |
Looks up the IPEndpoint for the registered identifier.
Use cache if it has entry
id | The identifier to look up |
Implemented in Org.Apache.REEF.Network.Naming.NameClient.
IPEndPoint Org.Apache.REEF.Common.Io.INameClient.Lookup | ( | string | id | ) |
Looks up the IPEndpoint for the registered identifier.
id | The identifier to look up |
Implemented in Org.Apache.REEF.Network.Naming.NameClient.
List<NameAssignment> Org.Apache.REEF.Common.Io.INameClient.Lookup | ( | List< string > | ids | ) |
Looks up the IPEndpoint for each of the registered identifiers in the list.
ids | The list of identifiers to look up |
Implemented in Org.Apache.REEF.Network.Naming.NameClient.
void Org.Apache.REEF.Common.Io.INameClient.Register | ( | string | id, |
IPEndPoint | endpoint | ||
) |
Registers the identifier with the NameService.
Overwrites the previous mapping if the identifier has already been registered.
id | The key used to map the remote endpoint |
endpoint | The endpoint to map |
Implemented in Org.Apache.REEF.Network.Naming.NameClient.
void Org.Apache.REEF.Common.Io.INameClient.Restart | ( | IPEndPoint | serverEndpoint | ) |
Restart the name client in case of failure.
serverEndpoint | The new server endpoint to connect to |
Implemented in Org.Apache.REEF.Network.Naming.NameClient.
void Org.Apache.REEF.Common.Io.INameClient.Unregister | ( | string | id | ) |
Unregisters the remote identifier with the NameService
id | The identifier to unregister |
Implemented in Org.Apache.REEF.Network.Naming.NameClient.