Class ServerBean
- java.lang.Object
- 
- org.apache.zookeeper.server.quorum.ServerBean
 
- 
- All Implemented Interfaces:
- ZKMBeanInfo,- ServerMXBean
 - Direct Known Subclasses:
- LocalPeerBean
 
 public abstract class ServerBean extends Object implements ServerMXBean, ZKMBeanInfo An abstract base class for the leader and follower MBeans.
- 
- 
Constructor SummaryConstructors Constructor Description ServerBean()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStartTime()booleanisHidden()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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.zookeeper.server.quorum.ServerMXBeangetName
 - 
Methods inherited from interface org.apache.zookeeper.jmx.ZKMBeanInfogetName
 
- 
 
- 
- 
- 
Method Detail- 
isHiddenpublic 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 interface- ZKMBeanInfo
- Returns:
- true if the MBean is hidden.
 
 - 
getStartTimepublic String getStartTime() - Specified by:
- getStartTimein interface- ServerMXBean
- Returns:
- the start time the server
 
 
- 
 
-