public class QuorumBean extends Object implements QuorumMXBean, ZKMBeanInfo
| Constructor and Description |
|---|
QuorumBean(QuorumPeer peer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getQuorumSize() |
boolean |
isHidden()
If isHidden returns true, the MBean won't be registered with MBean server,
and thus won't be available for management tools.
|
boolean |
isPortUnification() |
boolean |
isSslQuorum() |
public QuorumBean(QuorumPeer peer)
public String getName()
getName in interface ZKMBeanInfogetName in interface QuorumMXBeanpublic boolean isHidden()
ZKMBeanInfoisHidden in interface ZKMBeanInfopublic int getQuorumSize()
getQuorumSize in interface QuorumMXBeanpublic boolean isSslQuorum()
isSslQuorum in interface QuorumMXBeanpublic boolean isPortUnification()
isPortUnification in interface QuorumMXBeanCopyright © 2008–2019 The Apache Software Foundation. All rights reserved.