ProtocolMBean
, STATSMBean
public class STATS extends Protocol implements STATSMBean
Modifier and Type | Method | Description |
---|---|---|
void |
attachProtocol(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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, resetStats, setProperties, setStatsEnabled, start, stop
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, resetStats, setProperties, setStatsEnabled, start, stop
public STATS()
public STATS(Protocol p)
public void attachProtocol(Protocol p)
attachProtocol
in class Protocol
public long getSentMessages()
getSentMessages
in interface STATSMBean
public long getSentBytes()
getSentBytes
in interface STATSMBean
public long getSentUnicastMessages()
getSentUnicastMessages
in interface STATSMBean
public long getSentUnicastBytes()
getSentUnicastBytes
in interface STATSMBean
public long getSentMcastMessages()
getSentMcastMessages
in interface STATSMBean
public long getSentMcastBytes()
getSentMcastBytes
in interface STATSMBean
public long getReceivedMessages()
getReceivedMessages
in interface STATSMBean
public long getReceivedBytes()
getReceivedBytes
in interface STATSMBean
public long getReceivedUnicastMessages()
getReceivedUnicastMessages
in interface STATSMBean
public long getReceivedUnicastBytes()
getReceivedUnicastBytes
in interface STATSMBean
public long getReceivedMcastMessages()
getReceivedMcastMessages
in interface STATSMBean
public long getReceivedMcastBytes()
getReceivedMcastBytes
in interface STATSMBean
public java.lang.String printStats()
printStats
in interface ProtocolMBean
printStats
in interface STATSMBean
printStats
in class Protocol
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.