|
Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Client for the Reef name service. More...
Inherits Org.Apache.REEF.Common.Io.INameClient.
Public Member Functions | |
| void | Register (string id, IPEndPoint endpoint) |
| Synchronously registers the identifier with the NameService. More... | |
| void | Unregister (string id) |
| Synchronously unregisters the remote identifier with the NameService More... | |
| IPEndPoint | CacheLookup (string id) |
| Synchronously looks up the IPEndpoint for the registered identifier. More... | |
| IPEndPoint | Lookup (string id) |
| Synchronously looks up the IPEndpoint for the registered identifier. More... | |
| List< NameAssignment > | Lookup (List< string > ids) |
| Synchronously 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... | |
| void | Dispose () |
| Releases resources used by NameClient More... | |
Client for the Reef name service.
Used to register, unregister, and lookup IP Addresses of known hosts.
|
inline |
Synchronously looks up the IPEndpoint for the registered identifier.
Uses cache if it has entry
| id | The identifier to look up |
Implements Org.Apache.REEF.Common.Io.INameClient.
|
inline |
Releases resources used by NameClient
|
inline |
Synchronously looks up the IPEndpoint for the registered identifier.
Does not use cache
| id | The identifier to look up |
Implements Org.Apache.REEF.Common.Io.INameClient.
|
inline |
Synchronously looks up the IPEndpoint for each of the registered identifiers in the list.
Do not use cache
| ids | The list of identifiers to look up |
Implements Org.Apache.REEF.Common.Io.INameClient.
|
inline |
Synchronously 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 |
Implements Org.Apache.REEF.Common.Io.INameClient.
|
inline |
Restart the name client in case of failure.
| serverEndpoint | The new server endpoint to connect to |
Implements Org.Apache.REEF.Common.Io.INameClient.
|
inline |
Synchronously unregisters the remote identifier with the NameService
| id | The identifier to unregister |
Implements Org.Apache.REEF.Common.Io.INameClient.
1.8.11