public class ClusterListAction
extends org.apache.karaf.shell.console.AbstractAction
| Modifier and Type | Class and Description |
|---|---|
protected class |
ClusterListAction.ClusterNode |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLUSTER_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doExecute() |
protected String |
getClusterName(String rootDir,
String dir) |
org.apache.curator.framework.CuratorFramework |
getCurator() |
protected void |
printCluster(String dir,
PrintStream out) |
protected String |
printList(List list) |
protected Object |
value(Map<String,Object> map,
String... keys) |
protected static String CLUSTER_PREFIX
public org.apache.curator.framework.CuratorFramework getCurator()
protected Object doExecute() throws Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionExceptionprotected void printCluster(String dir, PrintStream out) throws Exception
ExceptionCopyright © 2011–2014 Red Hat. All rights reserved.