Package org.jgroups.jmx.protocols
Class FD_ALL
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.FD_ALL
-
- All Implemented Interfaces:
ProtocolMBean,FD_ALLMBean
public class FD_ALL extends Protocol implements FD_ALLMBean
- Version:
- $Id: FD_ALL.java,v 1.1 2006/12/22 09:34:53 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachProtocol(Protocol p)intgetHeartbeatsReceived()intgetHeartbeatsSent()longgetInterval()java.lang.StringgetLocalAddress()java.lang.StringgetMembers()intgetSuspectEventsSent()longgetTimeout()booleanisRunning()booleanisShun()java.lang.StringprintSuspectHistory()java.lang.StringprintTimestamps()voidsetInterval(long interval)voidsetShun(boolean flag)voidsetTimeout(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 Detail
-
FD_ALL
public FD_ALL()
-
FD_ALL
public FD_ALL(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocolin classProtocol
-
getHeartbeatsSent
public int getHeartbeatsSent()
- Specified by:
getHeartbeatsSentin interfaceFD_ALLMBean
-
getHeartbeatsReceived
public int getHeartbeatsReceived()
- Specified by:
getHeartbeatsReceivedin interfaceFD_ALLMBean
-
getSuspectEventsSent
public int getSuspectEventsSent()
- Specified by:
getSuspectEventsSentin interfaceFD_ALLMBean
-
getTimeout
public long getTimeout()
- Specified by:
getTimeoutin interfaceFD_ALLMBean
-
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeoutin interfaceFD_ALLMBean
-
getInterval
public long getInterval()
- Specified by:
getIntervalin interfaceFD_ALLMBean
-
setInterval
public void setInterval(long interval)
- Specified by:
setIntervalin interfaceFD_ALLMBean
-
isShun
public boolean isShun()
- Specified by:
isShunin interfaceFD_ALLMBean
-
setShun
public void setShun(boolean flag)
- Specified by:
setShunin interfaceFD_ALLMBean
-
isRunning
public boolean isRunning()
- Specified by:
isRunningin interfaceFD_ALLMBean
-
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddressin interfaceFD_ALLMBean
-
getMembers
public java.lang.String getMembers()
- Specified by:
getMembersin interfaceFD_ALLMBean
-
printSuspectHistory
public java.lang.String printSuspectHistory()
- Specified by:
printSuspectHistoryin interfaceFD_ALLMBean
-
printTimestamps
public java.lang.String printTimestamps()
- Specified by:
printTimestampsin interfaceFD_ALLMBean
-
-