Interface ZooInspectorReadOnlyManager
-
- All Known Subinterfaces:
ZooInspectorManager
,ZooInspectorNodeManager
,ZooInspectorNodeTreeManager
- All Known Implementing Classes:
ZooInspectorManagerImpl
public interface ZooInspectorReadOnlyManager
A Manager for all read only interactions between the application and a node in a Zookeeper instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getACLs(java.lang.String nodePath)
java.util.List<java.lang.String>
getChildren(java.lang.String nodePath)
java.lang.String
getData(java.lang.String nodePath)
java.util.Map<java.lang.String,java.lang.String>
getNodeMeta(java.lang.String nodePath)
int
getNumChildren(java.lang.String nodePath)
-
-
-
Method Detail
-
getData
java.lang.String getData(java.lang.String nodePath)
- Parameters:
nodePath
- - the path to the node whose data is to be retrieved- Returns:
- the data for the node
-
getNodeMeta
java.util.Map<java.lang.String,java.lang.String> getNodeMeta(java.lang.String nodePath)
- Parameters:
nodePath
- - the path to the node whose metadata is to be retrieved- Returns:
- the metaData for the node
-
getACLs
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getACLs(java.lang.String nodePath)
- Parameters:
nodePath
- - the path to the node whose ACLs are to be retrieved- Returns:
- the ACLs set on the node
-
getNumChildren
int getNumChildren(java.lang.String nodePath)
- Parameters:
nodePath
- - the path to the node to parent node- Returns:
- the number of children of the node
-
getChildren
java.util.List<java.lang.String> getChildren(java.lang.String nodePath)
- Parameters:
nodePath
- - the path to the node whose children to retrieve- Returns:
- a
List
of the children of the node
-
-