public class LeaderElectionBean extends Object implements LeaderElectionMXBean, ZKMBeanInfo
Constructor and Description |
---|
LeaderElectionBean() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getStartTime() |
boolean |
isHidden()
If isHidden returns true, the MBean won't be registered with MBean server,
and thus won't be available for management tools.
|
public String getName()
getName
in interface ZKMBeanInfo
public boolean isHidden()
ZKMBeanInfo
isHidden
in interface ZKMBeanInfo
public String getStartTime()
getStartTime
in interface LeaderElectionMXBean
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.