public class ZooKeeperProcessRegistry extends Object implements ProcessRegistry
| Constructor and Description |
|---|
ZooKeeperProcessRegistry(String hosts) |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperProcessRegistry |
autodetectZooKeeperProcessRegistry() |
protected String |
convertPropertiesKeyToPath(String key) |
String |
hosts() |
String |
readProperty(String key)
Reads property from the process registry.
|
public ZooKeeperProcessRegistry(String hosts)
public static ZooKeeperProcessRegistry autodetectZooKeeperProcessRegistry()
public String hosts()
public String readProperty(String key)
ProcessRegistryreadProperty in interface ProcessRegistrykey - identifies uniquely property to be resolved.null if property is not availableCopyright © 2011–2014 Red Hat. All rights reserved.