org.jgroups.jmx.protocols
Class STATS
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.STATS
- All Implemented Interfaces:
- ProtocolMBean, STATSMBean
public class STATS
- extends Protocol
- implements STATSMBean
- Version:
- $Id: STATS.java,v 1.1 2005/06/07 10:17:26 belaban Exp $
- Author:
- Bela Ban
Methods inherited from class org.jgroups.jmx.Protocol |
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, 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, resetStats, setProperties, setStatsEnabled, start, stop |
STATS
public STATS()
STATS
public STATS(Protocol p)
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocol
in class Protocol
getSentMessages
public long getSentMessages()
- Specified by:
getSentMessages
in interface STATSMBean
getSentBytes
public long getSentBytes()
- Specified by:
getSentBytes
in interface STATSMBean
getSentUnicastMessages
public long getSentUnicastMessages()
- Specified by:
getSentUnicastMessages
in interface STATSMBean
getSentUnicastBytes
public long getSentUnicastBytes()
- Specified by:
getSentUnicastBytes
in interface STATSMBean
getSentMcastMessages
public long getSentMcastMessages()
- Specified by:
getSentMcastMessages
in interface STATSMBean
getSentMcastBytes
public long getSentMcastBytes()
- Specified by:
getSentMcastBytes
in interface STATSMBean
getReceivedMessages
public long getReceivedMessages()
- Specified by:
getReceivedMessages
in interface STATSMBean
getReceivedBytes
public long getReceivedBytes()
- Specified by:
getReceivedBytes
in interface STATSMBean
getReceivedUnicastMessages
public long getReceivedUnicastMessages()
- Specified by:
getReceivedUnicastMessages
in interface STATSMBean
getReceivedUnicastBytes
public long getReceivedUnicastBytes()
- Specified by:
getReceivedUnicastBytes
in interface STATSMBean
getReceivedMcastMessages
public long getReceivedMcastMessages()
- Specified by:
getReceivedMcastMessages
in interface STATSMBean
getReceivedMcastBytes
public long getReceivedMcastBytes()
- Specified by:
getReceivedMcastBytes
in interface STATSMBean
printStats
public java.lang.String printStats()
- Specified by:
printStats
in interface ProtocolMBean
- Specified by:
printStats
in interface STATSMBean
- Overrides:
printStats
in class Protocol
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.