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 ZKMBeanInfo
getName
in interface QuorumMXBean
public boolean isHidden()
ZKMBeanInfo
isHidden
in interface ZKMBeanInfo
public int getQuorumSize()
getQuorumSize
in interface QuorumMXBean
public boolean isSslQuorum()
isSslQuorum
in interface QuorumMXBean
public boolean isPortUnification()
isPortUnification
in interface QuorumMXBean
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.