| Package | Description | 
|---|---|
| org.apache.hadoop.registry.client.api | YARN Registry Client API. | 
| org.apache.hadoop.registry.client.binding | Registry binding utility classes. | 
| org.apache.hadoop.registry.client.impl.zk | Core Zookeeper support. | 
| 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 | 
|---|---|
| ServiceRecord | RegistryOperations. resolve(String path)Resolve the record at a path | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RegistryOperations. bind(String path,
    ServiceRecord record,
    int flags)Bind a path in the registry to a service record | 
| void | DNSOperations. delete(String path,
      ServiceRecord record)Delete a service's registered endpoints. | 
| void | DNSOperations. register(String path,
        ServiceRecord record)Register a service based on a service record. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Map<String,ServiceRecord> | RegistryUtils. extractServiceRecords(RegistryOperations operations,
                     String parentpath)Extract all service records under a list of stat operations...this
 non-atomic action skips entries that are too short or simply not matching. | 
| static Map<String,ServiceRecord> | RegistryUtils. extractServiceRecords(RegistryOperations operations,
                     String parentpath,
                     Collection<RegistryPathStatus> stats)Extract all service records under a list of stat operations...this
 skips entries that are too short or simply not matching | 
| static Map<String,ServiceRecord> | RegistryUtils. extractServiceRecords(RegistryOperations operations,
                     String parentpath,
                     Map<String,RegistryPathStatus> stats)Extract all service records under a list of stat operations...this
 non-atomic action skips entries that are too short or simply not matching. | 
| static Map<String,ServiceRecord> | RegistryUtils. listServiceRecords(RegistryOperations registryOperations,
                  String path)List service records directly under a path | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | RegistryTypeUtils. validateServiceRecord(String path,
                     ServiceRecord record)Validate the record by checking for null fields and other invalid
 conditions | 
| Modifier and Type | Method and Description | 
|---|---|
| ServiceRecord | RegistryOperationsService. resolve(String path) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RegistryOperationsService. bind(String path,
    ServiceRecord record,
    int flags) | 
| Constructor and Description | 
|---|
| ServiceRecord(ServiceRecord that)Deep cloning constructor | 
Copyright © 2023 Apache Software Foundation. All rights reserved.