Package org.apache.zookeeper.server
Interface DataTreeMXBean
- 
- All Known Implementing Classes:
- DataTreeBean
 
 public interface DataTreeMXBeanZookeeper data tree MBean.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description longapproximateDataSize()intcountEphemerals()StringgetLastZxid()intgetNodeCount()intgetWatchCount()
 
- 
- 
- 
Method Detail- 
getNodeCountint getNodeCount() - Returns:
- number of znodes in the data tree.
 
 - 
getLastZxidString getLastZxid() - Returns:
- the most recent zxid processed by the data tree.
 
 - 
getWatchCountint getWatchCount() - Returns:
- number of watches set.
 
 - 
approximateDataSizelong approximateDataSize() - Returns:
- data tree size in bytes. The size includes the znode path and its value.
 
 - 
countEphemeralsint countEphemerals() - Returns:
- number of ephemeral nodes in the data tree
 
 
- 
 
-