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 voidattachProtocol(Protocol p)java.util.MapdumpStats()longgetBroadcast()java.lang.StringgetCoordinator()longgetForwarded()java.lang.StringgetLocalAddress()longgetReceivedBroadcasts()longgetReceivedForwards()booleanisCoord()java.lang.StringprintStats()voidresetStats()-
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:
attachProtocolin classProtocol
-
isCoord
public boolean isCoord()
- Specified by:
isCoordin interfaceSEQUENCERMBean
-
getCoordinator
public java.lang.String getCoordinator()
- Specified by:
getCoordinatorin interfaceSEQUENCERMBean
-
getLocalAddress
public java.lang.String getLocalAddress()
- Specified by:
getLocalAddressin interfaceSEQUENCERMBean
-
getForwarded
public long getForwarded()
- Specified by:
getForwardedin interfaceSEQUENCERMBean
-
getBroadcast
public long getBroadcast()
- Specified by:
getBroadcastin interfaceSEQUENCERMBean
-
getReceivedForwards
public long getReceivedForwards()
- Specified by:
getReceivedForwardsin interfaceSEQUENCERMBean
-
getReceivedBroadcasts
public long getReceivedBroadcasts()
- Specified by:
getReceivedBroadcastsin interfaceSEQUENCERMBean
-
resetStats
public void resetStats()
- Specified by:
resetStatsin interfaceProtocolMBean- Overrides:
resetStatsin classProtocol
-
printStats
public java.lang.String printStats()
- Specified by:
printStatsin interfaceProtocolMBean- Overrides:
printStatsin classProtocol
-
dumpStats
public java.util.Map dumpStats()
- Specified by:
dumpStatsin interfaceProtocolMBean- Overrides:
dumpStatsin classProtocol
-
-