public interface LocalPeerMXBean extends ServerMXBean
Modifier and Type | Method and Description |
---|---|
String |
getClientAddress() |
long |
getConfigVersion() |
String |
getElectionAddress() |
int |
getElectionType() |
int |
getInitLimit() |
String |
getLearnerType() |
int |
getMaxClientCnxnsPerHost()
Current maxClientCnxns allowed from a particular host
|
int |
getMaxCnxns() |
int |
getMaxSessionTimeout() |
int |
getMinSessionTimeout() |
String |
getQuorumAddress() |
String |
getQuorumSystemInfo() |
String |
getState() |
int |
getSyncLimit() |
int |
getTick() |
int |
getTickTime() |
boolean |
isLeader() |
boolean |
isPartOfEnsemble() |
void |
setInitLimit(int initLimit)
Set the number of ticks that the initial sync phase can take
|
void |
setSyncLimit(int syncLimit)
Set the number of ticks that can pass between sending a request
and getting a acknowledgment
|
getName, getStartTime
int getTickTime()
int getMaxClientCnxnsPerHost()
int getMinSessionTimeout()
int getMaxSessionTimeout()
int getInitLimit()
int getSyncLimit()
void setInitLimit(int initLimit)
void setSyncLimit(int syncLimit)
int getTick()
String getState()
String getQuorumAddress()
int getElectionType()
String getElectionAddress()
String getClientAddress()
String getLearnerType()
long getConfigVersion()
String getQuorumSystemInfo()
boolean isPartOfEnsemble()
boolean isLeader()
int getMaxCnxns()
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.