|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Endpoint | |
---|---|
org.apache.hadoop.registry.client.binding | Registry binding utility classes. |
org.apache.hadoop.registry.client.types | This package contains all the data types which can be saved to the registry and/or marshalled to and from JSON. |
Uses of Endpoint in org.apache.hadoop.registry.client.binding |
---|
Methods in org.apache.hadoop.registry.client.binding that return Endpoint | |
---|---|
static Endpoint |
RegistryTypeUtils.inetAddrEndpoint(String api,
String protocolType,
String hostname,
int port)
Create an internet address endpoint from a list of URIs |
static Endpoint |
RegistryTypeUtils.ipcEndpoint(String api,
InetSocketAddress address)
Create an IPC endpoint |
static Endpoint |
RegistryTypeUtils.restEndpoint(String api,
URI... uris)
Create a REST endpoint from a list of URIs |
static Endpoint |
RegistryTypeUtils.urlEndpoint(String api,
String protocolType,
URI... uris)
Create a URL endpoint from a list of URIs |
static Endpoint |
RegistryTypeUtils.webEndpoint(String api,
URI... uris)
Create a Web UI endpoint from a list of URIs |
Methods in org.apache.hadoop.registry.client.binding with parameters of type Endpoint | |
---|---|
static void |
RegistryTypeUtils.requireAddressType(String required,
Endpoint epr)
Require a specific address type on an endpoint |
static List<String> |
RegistryTypeUtils.retrieveAddressesUriType(Endpoint epr)
Get a single URI endpoint |
static List<URL> |
RegistryTypeUtils.retrieveAddressURLs(Endpoint epr)
Get the address URLs. |
static void |
RegistryTypeUtils.validateEndpoint(String path,
Endpoint endpoint)
Validate the endpoint by checking for null fields and other invalid conditions |
Uses of Endpoint in org.apache.hadoop.registry.client.types |
---|
Fields in org.apache.hadoop.registry.client.types with type parameters of type Endpoint | |
---|---|
List<Endpoint> |
ServiceRecord.external
List of endpoints intended for use to external callers |
List<Endpoint> |
ServiceRecord.internal
List of endpoints for use within an application. |
Methods in org.apache.hadoop.registry.client.types that return Endpoint | |
---|---|
Endpoint |
ServiceRecord.getExternalEndpoint(String api)
Look up an external endpoint |
Endpoint |
ServiceRecord.getInternalEndpoint(String api)
Look up an internal endpoint |
Methods in org.apache.hadoop.registry.client.types with parameters of type Endpoint | |
---|---|
void |
ServiceRecord.addExternalEndpoint(Endpoint endpoint)
Add an external endpoint |
void |
ServiceRecord.addInternalEndpoint(Endpoint endpoint)
Add an internal endpoint |
Constructors in org.apache.hadoop.registry.client.types with parameters of type Endpoint | |
---|---|
Endpoint(Endpoint that)
Create an endpoint from another endpoint. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |