Package org.jgroups.jmx.protocols
Class STATS
java.lang.Object
org.jgroups.jmx.Protocol
org.jgroups.jmx.protocols.STATS
- All Implemented Interfaces:
ProtocolMBean
,STATSMBean
- Version:
- $Id: STATS.java,v 1.1 2005/06/07 10:17:26 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
long
long
long
long
long
long
long
long
long
long
long
long
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
-
Constructor Details
-
STATS
public STATS() -
STATS
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocol
in classProtocol
-
getSentMessages
public long getSentMessages()- Specified by:
getSentMessages
in interfaceSTATSMBean
-
getSentBytes
public long getSentBytes()- Specified by:
getSentBytes
in interfaceSTATSMBean
-
getSentUnicastMessages
public long getSentUnicastMessages()- Specified by:
getSentUnicastMessages
in interfaceSTATSMBean
-
getSentUnicastBytes
public long getSentUnicastBytes()- Specified by:
getSentUnicastBytes
in interfaceSTATSMBean
-
getSentMcastMessages
public long getSentMcastMessages()- Specified by:
getSentMcastMessages
in interfaceSTATSMBean
-
getSentMcastBytes
public long getSentMcastBytes()- Specified by:
getSentMcastBytes
in interfaceSTATSMBean
-
getReceivedMessages
public long getReceivedMessages()- Specified by:
getReceivedMessages
in interfaceSTATSMBean
-
getReceivedBytes
public long getReceivedBytes()- Specified by:
getReceivedBytes
in interfaceSTATSMBean
-
getReceivedUnicastMessages
public long getReceivedUnicastMessages()- Specified by:
getReceivedUnicastMessages
in interfaceSTATSMBean
-
getReceivedUnicastBytes
public long getReceivedUnicastBytes()- Specified by:
getReceivedUnicastBytes
in interfaceSTATSMBean
-
getReceivedMcastMessages
public long getReceivedMcastMessages()- Specified by:
getReceivedMcastMessages
in interfaceSTATSMBean
-
getReceivedMcastBytes
public long getReceivedMcastBytes()- Specified by:
getReceivedMcastBytes
in interfaceSTATSMBean
-
printStats
- Specified by:
printStats
in interfaceProtocolMBean
- Specified by:
printStats
in interfaceSTATSMBean
- Overrides:
printStats
in classProtocol
-