Class FD
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.FD
- All Implemented Interfaces:
ProtocolMBean, FDMBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintintintlongbooleanisShun()voidsetMaxTries(int max_tries) voidsetShun(boolean flag) voidsetTimeout(long timeout) Methods inherited from class Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Constructor Details
-
FD
public FD() -
FD
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocolin classProtocol
-
getNumberOfHeartbeatsSent
public int getNumberOfHeartbeatsSent()- Specified by:
getNumberOfHeartbeatsSentin interfaceFDMBean
-
getNumSuspectEventsGenerated
public int getNumSuspectEventsGenerated()- Specified by:
getNumSuspectEventsGeneratedin interfaceFDMBean
-
getTimeout
public long getTimeout()- Specified by:
getTimeoutin interfaceFDMBean
-
setTimeout
public void setTimeout(long timeout) - Specified by:
setTimeoutin interfaceFDMBean
-
getMaxTries
public int getMaxTries()- Specified by:
getMaxTriesin interfaceFDMBean
-
setMaxTries
public void setMaxTries(int max_tries) - Specified by:
setMaxTriesin interfaceFDMBean
-
getCurrentNumTries
public int getCurrentNumTries()- Specified by:
getCurrentNumTriesin interfaceFDMBean
-
isShun
-
setShun
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceFDMBean
-
getMembers
- Specified by:
getMembersin interfaceFDMBean
-
getPingableMembers
- Specified by:
getPingableMembersin interfaceFDMBean
-
getPingDest
- Specified by:
getPingDestin interfaceFDMBean
-
printSuspectHistory
- Specified by:
printSuspectHistoryin interfaceFDMBean
-