Package org.jgroups.jmx.protocols
Class SEQUENCER
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.SEQUENCER
-
- All Implemented Interfaces:
ProtocolMBean
,SEQUENCERMBean
public class SEQUENCER extends Protocol implements SEQUENCERMBean
- Version:
- $Id: SEQUENCER.java,v 1.1 2006/01/03 14:43:43 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachProtocol(Protocol p)
java.util.Map
dumpStats()
long
getBroadcast()
java.lang.String
getCoordinator()
long
getForwarded()
java.lang.String
getLocalAddress()
long
getReceivedBroadcasts()
long
getReceivedForwards()
boolean
isCoord()
java.lang.String
printStats()
void
resetStats()
-
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, getName, getPropertiesAsString, getStatsEnabled, 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, getName, getPropertiesAsString, getStatsEnabled, setProperties, setStatsEnabled, start, stop
-
-
-
-
Constructor Detail
-
SEQUENCER
public SEQUENCER()
-
SEQUENCER
public SEQUENCER(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in classProtocol
-
isCoord
public boolean isCoord()
- Specified by:
isCoord
in interfaceSEQUENCERMBean
-
getCoordinator
public java.lang.String getCoordinator()
- Specified by:
getCoordinator
in interfaceSEQUENCERMBean
-
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddress
in interfaceSEQUENCERMBean
-
getForwarded
public long getForwarded()
- Specified by:
getForwarded
in interfaceSEQUENCERMBean
-
getBroadcast
public long getBroadcast()
- Specified by:
getBroadcast
in interfaceSEQUENCERMBean
-
getReceivedForwards
public long getReceivedForwards()
- Specified by:
getReceivedForwards
in interfaceSEQUENCERMBean
-
getReceivedBroadcasts
public long getReceivedBroadcasts()
- Specified by:
getReceivedBroadcasts
in interfaceSEQUENCERMBean
-
resetStats
public void resetStats()
- Specified by:
resetStats
in interfaceProtocolMBean
- Overrides:
resetStats
in classProtocol
-
printStats
public java.lang.String printStats()
- Specified by:
printStats
in interfaceProtocolMBean
- Overrides:
printStats
in classProtocol
-
dumpStats
public java.util.Map dumpStats()
- Specified by:
dumpStats
in interfaceProtocolMBean
- Overrides:
dumpStats
in classProtocol
-
-