Package org.jgroups.jmx.protocols
Class FD
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.FD
- All Implemented Interfaces:
ProtocolMBean
,FDMBean
- Version:
- $Id: FD.java,v 1.1 2005/06/13 12:44:06 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
int
int
long
boolean
isShun()
void
setMaxTries
(int max_tries) void
setShun
(boolean flag) void
setTimeout
(long timeout) Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Constructor Details
-
FD
public FD() -
FD
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocol
in classProtocol
-
getNumberOfHeartbeatsSent
public int getNumberOfHeartbeatsSent()- Specified by:
getNumberOfHeartbeatsSent
in interfaceFDMBean
-
getNumSuspectEventsGenerated
public int getNumSuspectEventsGenerated()- Specified by:
getNumSuspectEventsGenerated
in interfaceFDMBean
-
getTimeout
public long getTimeout()- Specified by:
getTimeout
in interfaceFDMBean
-
setTimeout
public void setTimeout(long timeout) - Specified by:
setTimeout
in interfaceFDMBean
-
getMaxTries
public int getMaxTries()- Specified by:
getMaxTries
in interfaceFDMBean
-
setMaxTries
public void setMaxTries(int max_tries) - Specified by:
setMaxTries
in interfaceFDMBean
-
getCurrentNumTries
public int getCurrentNumTries()- Specified by:
getCurrentNumTries
in interfaceFDMBean
-
isShun
public boolean isShun() -
setShun
public void setShun(boolean flag) -
getLocalAddress
- Specified by:
getLocalAddress
in interfaceFDMBean
-
getMembers
- Specified by:
getMembers
in interfaceFDMBean
-
getPingableMembers
- Specified by:
getPingableMembers
in interfaceFDMBean
-
getPingDest
- Specified by:
getPingDest
in interfaceFDMBean
-
printSuspectHistory
- Specified by:
printSuspectHistory
in interfaceFDMBean
-