Class LearnerHandlerBean
java.lang.Object
org.apache.zookeeper.server.quorum.LearnerHandlerBean
- All Implemented Interfaces:
ZKMBeanInfo,LearnerHandlerMXBean
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LearnerHandlerBean
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceZKMBeanInfo- Returns:
- a string identifying the MBean
-
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.
-
terminateConnection
public void terminateConnection()Description copied from interface:LearnerHandlerMXBeanTerminate the connection. The learner will attempt to reconnect to the leader or to the next ObserverMaster if that feature is enabled- Specified by:
terminateConnectionin interfaceLearnerHandlerMXBean
-
toString
-