Class ServerBean
java.lang.Object
org.apache.zookeeper.server.quorum.ServerBean
- All Implemented Interfaces:
ZKMBeanInfo,ServerMXBean
- Direct Known Subclasses:
LocalPeerBean
An abstract base class for the leader and follower MBeans.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisHidden()If isHidden returns true, the MBean won't be registered with MBean server, and thus won't be available for management tools.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.zookeeper.server.quorum.ServerMXBean
getNameMethods inherited from interface org.apache.zookeeper.jmx.ZKMBeanInfo
getName
-
Constructor Details
-
ServerBean
public ServerBean()
-
-
Method Details
-
isHidden
public boolean isHidden()Description copied from interface:ZKMBeanInfoIf isHidden returns true, the MBean won't be registered with MBean server, and thus won't be available for management tools. Used for grouping MBeans.- Specified by:
isHiddenin interfaceZKMBeanInfo- Returns:
- true if the MBean is hidden.
-
getStartTime
- Specified by:
getStartTimein interfaceServerMXBean- Returns:
- the start time the server
-