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.
|
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 |
RegistryOperations.delete(String path,
boolean recursive)
Delete a path.
|
List<String> |
RegistryOperations.list(String path)
List all entries under a registry path, returning the relative names
of the entries.
|
boolean |
RegistryOperations.mknode(String path,
boolean createParents)
Create a path.
|
RegistryPathStatus |
RegistryOperations.stat(String path)
Get the status of a path
|
Modifier and Type | Method and Description |
---|---|
static Map<String,RegistryPathStatus> |
RegistryUtils.statChildren(RegistryOperations registryOperations,
String path)
List children of a directory and retrieve their
RegistryPathStatus values. |
Modifier and Type | Method and Description |
---|---|
protected void |
RegistryOperationsService.validatePath(String path)
Validate a path
|
Copyright © 2020 Apache Software Foundation. All rights reserved.