Java org.apache.hadoop.registry.client.types ServiceRecord fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.registry.client.types ServiceRecord fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.registry.client.types ServiceRecord.

The text is from its open source code.

Constructor

ServiceRecord()
Create a service record with no ID, description or registration time.

Method

voidaddExternalEndpoint(Endpoint endpoint)
Add an external endpoint
voidaddInternalEndpoint(Endpoint endpoint)
Add an internal endpoint
Stringget(String key)
Get the "other" attribute with a specific key
Stringget(String key, String defVal)
Get the "other" attribute with a specific key.
EndpointgetExternalEndpoint(String api)
Look up an external endpoint
EndpointgetInternalEndpoint(String api)
Look up an internal endpoint
voidset(String key, Object value)
Handle unknown attributes by storing them in the #attributes map