| Package | Description | 
|---|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
| Modifier and Type | Field and Description | 
|---|---|
| List<Endpoint> | ServiceRecord. externalList of endpoints intended for use to external callers | 
| List<Endpoint> | ServiceRecord. internalList of endpoints for use within an application. | 
| Modifier and Type | Method and Description | 
|---|---|
| Endpoint | ServiceRecord. getExternalEndpoint(String api)Look up an external endpoint | 
| Endpoint | ServiceRecord. getInternalEndpoint(String api)Look up an internal endpoint | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ServiceRecord. addExternalEndpoint(Endpoint endpoint)Add an external endpoint | 
| void | ServiceRecord. addInternalEndpoint(Endpoint endpoint)Add an internal endpoint | 
| Constructor and Description | 
|---|
| Endpoint(Endpoint that)Create an endpoint from another endpoint. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.