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 void
attachProtocol(Protocol p)
int
getHeartbeatsReceived()
int
getHeartbeatsSent()
long
getInterval()
java.lang.String
getLocalAddress()
java.lang.String
getMembers()
int
getSuspectEventsSent()
long
getTimeout()
boolean
isRunning()
boolean
isShun()
java.lang.String
printSuspectHistory()
java.lang.String
printTimestamps()
void
setInterval(long interval)
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 Detail
-
FD_ALL
public FD_ALL()
-
FD_ALL
public FD_ALL(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in classProtocol
-
getHeartbeatsSent
public int getHeartbeatsSent()
- Specified by:
getHeartbeatsSent
in interfaceFD_ALLMBean
-
getHeartbeatsReceived
public int getHeartbeatsReceived()
- Specified by:
getHeartbeatsReceived
in interfaceFD_ALLMBean
-
getSuspectEventsSent
public int getSuspectEventsSent()
- Specified by:
getSuspectEventsSent
in interfaceFD_ALLMBean
-
getTimeout
public long getTimeout()
- Specified by:
getTimeout
in interfaceFD_ALLMBean
-
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeout
in interfaceFD_ALLMBean
-
getInterval
public long getInterval()
- Specified by:
getInterval
in interfaceFD_ALLMBean
-
setInterval
public void setInterval(long interval)
- Specified by:
setInterval
in interfaceFD_ALLMBean
-
isShun
public boolean isShun()
- Specified by:
isShun
in interfaceFD_ALLMBean
-
setShun
public void setShun(boolean flag)
- Specified by:
setShun
in interfaceFD_ALLMBean
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceFD_ALLMBean
-
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddress
in interfaceFD_ALLMBean
-
getMembers
public java.lang.String getMembers()
- Specified by:
getMembers
in interfaceFD_ALLMBean
-
printSuspectHistory
public java.lang.String printSuspectHistory()
- Specified by:
printSuspectHistory
in interfaceFD_ALLMBean
-
printTimestamps
public java.lang.String printTimestamps()
- Specified by:
printTimestamps
in interfaceFD_ALLMBean
-
-