public class LearnerHandlerBean extends Object implements LearnerHandlerMXBean, ZKMBeanInfo
Constructor and Description |
---|
LearnerHandlerBean(LearnerHandler learnerHandler,
Socket socket) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isHidden()
If isHidden returns true, the MBean won't be registered with MBean server,
and thus won't be available for management tools.
|
void |
terminateConnection()
Terminate the connection.
|
String |
toString() |
public LearnerHandlerBean(LearnerHandler learnerHandler, Socket socket)
public String getName()
getName
in interface ZKMBeanInfo
public boolean isHidden()
ZKMBeanInfo
isHidden
in interface ZKMBeanInfo
public void terminateConnection()
LearnerHandlerMXBean
terminateConnection
in interface LearnerHandlerMXBean
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.