Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jgroups.jmx.protocols
Class STATS  view STATS download STATS.java

java.lang.Object
  extended byorg.jgroups.jmx.Protocol
      extended byorg.jgroups.jmx.protocols.STATS
All Implemented Interfaces:
org.jgroups.jmx.ProtocolMBean, STATSMBean

public class STATS
extends org.jgroups.jmx.Protocol
implements STATSMBean

Version:
$Id: STATS.java,v 1.1 2005/06/07 10:17:26 belaban Exp $

Field Summary
(package private)  org.jgroups.protocols.STATS p
           
 
Fields inherited from class org.jgroups.jmx.Protocol
 
Constructor Summary
STATS()
           
STATS(org.jgroups.stack.Protocol p)
           
 
Method Summary
 void attachProtocol(org.jgroups.stack.Protocol p)
           
 long getReceivedBytes()
           
 long getReceivedMcastBytes()
           
 long getReceivedMcastMessages()
           
 long getReceivedMessages()
           
 long getReceivedUnicastBytes()
           
 long getReceivedUnicastMessages()
           
 long getSentBytes()
           
 long getSentMcastBytes()
           
 long getSentMcastMessages()
           
 long getSentMessages()
           
 long getSentUnicastBytes()
           
 long getSentUnicastMessages()
           
 java.lang.String printStats()
           
 
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, 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, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop
 

Field Detail

p

org.jgroups.protocols.STATS p
Constructor Detail

STATS

public STATS()

STATS

public STATS(org.jgroups.stack.Protocol p)
Method Detail

attachProtocol

public void attachProtocol(org.jgroups.stack.Protocol p)

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 STATSMBean