Example usage for Java org.apache.hadoop.registry.client.types ServiceRecord fields, constructors, methods, implement or subclass
The text is from its open source code.
ServiceRecord() Create a service record with no ID, description or registration time. |
void | addExternalEndpoint(Endpoint endpoint) Add an external endpoint |
void | addInternalEndpoint(Endpoint endpoint) Add an internal endpoint |
String | get(String key) Get the "other" attribute with a specific key |
String | get(String key, String defVal) Get the "other" attribute with a specific key. |
Endpoint | getExternalEndpoint(String api) Look up an external endpoint |
Endpoint | getInternalEndpoint(String api) Look up an internal endpoint |
void | set(String key, Object value) Handle unknown attributes by storing them in the #attributes map |