org.jgroups.jmx.protocols
Class FD
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.FD
- All Implemented Interfaces:
- ProtocolMBean, FDMBean
public class FD
- extends Protocol
- implements FDMBean
- Version:
- $Id: FD.java,v 1.1 2005/06/13 12:44:06 belaban Exp $
- Author:
- Bela Ban
Methods inherited from class org.jgroups.jmx.Protocol |
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, 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, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, printStats, resetStats, setObserver, setProperties, setStatsEnabled, start, stop |
FD
public FD()
FD
public FD(Protocol p)
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in class Protocol
getNumberOfHeartbeatsSent
public int getNumberOfHeartbeatsSent()
- Specified by:
getNumberOfHeartbeatsSent
in interface FDMBean
getNumSuspectEventsGenerated
public int getNumSuspectEventsGenerated()
- Specified by:
getNumSuspectEventsGenerated
in interface FDMBean
getTimeout
public long getTimeout()
- Specified by:
getTimeout
in interface FDMBean
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeout
in interface FDMBean
getMaxTries
public int getMaxTries()
- Specified by:
getMaxTries
in interface FDMBean
setMaxTries
public void setMaxTries(int max_tries)
- Specified by:
setMaxTries
in interface FDMBean
getCurrentNumTries
public int getCurrentNumTries()
- Specified by:
getCurrentNumTries
in interface FDMBean
isShun
public boolean isShun()
- Specified by:
isShun
in interface FDMBean
setShun
public void setShun(boolean flag)
- Specified by:
setShun
in interface FDMBean
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddress
in interface FDMBean
getMembers
public java.lang.String getMembers()
- Specified by:
getMembers
in interface FDMBean
getPingableMembers
public java.lang.String getPingableMembers()
- Specified by:
getPingableMembers
in interface FDMBean
getPingDest
public java.lang.String getPingDest()
- Specified by:
getPingDest
in interface FDMBean
printSuspectHistory
public java.lang.String printSuspectHistory()
- Specified by:
printSuspectHistory
in interface FDMBean
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.