org.apache.zookeeper.server
Interface DataTreeMXBean
- All Known Implementing Classes:
- DataTreeBean
public interface DataTreeMXBean
Zookeeper data tree MBean.
getNodeCount
int getNodeCount()
- Returns:
- number of znodes in the data tree.
getLastZxid
java.lang.String getLastZxid()
- Returns:
- the most recent zxid processed by the data tree.
getWatchCount
int getWatchCount()
- Returns:
- number of watches set.
approximateDataSize
long approximateDataSize()
- Returns:
- data tree size in bytes. The size includes the znode path and
its value.
countEphemerals
int countEphemerals()
- Returns:
- number of ephemeral nodes in the data tree
Copyright © 2011 The Apache Software Foundation