com.sun.enterprise.ee.cms.impl.common
Class GMSMonitor.MessageStats
java.lang.Object
com.sun.enterprise.ee.cms.impl.common.GMSMonitor.MessageStats
- All Implemented Interfaces:
- GMSMonitor.GMSMessageStatsMBean
- Enclosing class:
- GMSMonitor
public static class GMSMonitor.MessageStats
- extends Object
- implements GMSMonitor.GMSMessageStatsMBean
GMSMonitor.MessageStats
public GMSMonitor.MessageStats(String component,
GMSMonitor gmsMonitor)
register
public void register()
close
public void close()
toString
public String toString()
- Overrides:
toString in class Object
getNumFailMsgSend
public long getNumFailMsgSend()
- Specified by:
getNumFailMsgSend in interface GMSMonitor.GMSMessageStatsMBean
incrementNumFailMsgSend
public long incrementNumFailMsgSend()
- Specified by:
incrementNumFailMsgSend in interface GMSMonitor.GMSMessageStatsMBean
getSendWriteTimeouts
public long getSendWriteTimeouts()
- Specified by:
getSendWriteTimeouts in interface GMSMonitor.GMSMessageStatsMBean
incrementSendWriteTimeout
public long incrementSendWriteTimeout()
- Specified by:
incrementSendWriteTimeout in interface GMSMonitor.GMSMessageStatsMBean
getNumMsgsSent
public long getNumMsgsSent()
- Specified by:
getNumMsgsSent in interface GMSMonitor.GMSMessageStatsMBean
incrementNumMsgsSent
public long incrementNumMsgsSent()
- Specified by:
incrementNumMsgsSent in interface GMSMonitor.GMSMessageStatsMBean
getBytesSent
public long getBytesSent()
- Specified by:
getBytesSent in interface GMSMonitor.GMSMessageStatsMBean
addBytesSent
public long addBytesSent(long bytesSent)
- Specified by:
addBytesSent in interface GMSMonitor.GMSMessageStatsMBean
getSendDuration
public long getSendDuration()
- Specified by:
getSendDuration in interface GMSMonitor.GMSMessageStatsMBean
addSendDuration
public long addSendDuration(long duration)
- Specified by:
addSendDuration in interface GMSMonitor.GMSMessageStatsMBean
getMaxSendDuration
public long getMaxSendDuration()
- Specified by:
getMaxSendDuration in interface GMSMonitor.GMSMessageStatsMBean
setMaxSendDuration
public void setMaxSendDuration(long duration)
- Specified by:
setMaxSendDuration in interface GMSMonitor.GMSMessageStatsMBean
getReceiveDuration
public long getReceiveDuration()
- Specified by:
getReceiveDuration in interface GMSMonitor.GMSMessageStatsMBean
addReceiveDuration
public long addReceiveDuration(long duration)
- Specified by:
addReceiveDuration in interface GMSMonitor.GMSMessageStatsMBean
getMaxReceiveDuration
public long getMaxReceiveDuration()
- Specified by:
getMaxReceiveDuration in interface GMSMonitor.GMSMessageStatsMBean
setMaxReceiveDuration
public void setMaxReceiveDuration(long duration)
- Specified by:
setMaxReceiveDuration in interface GMSMonitor.GMSMessageStatsMBean
getNumMsgsReceived
public long getNumMsgsReceived()
- Specified by:
getNumMsgsReceived in interface GMSMonitor.GMSMessageStatsMBean
incrementNumMsgsReceived
public long incrementNumMsgsReceived()
- Specified by:
incrementNumMsgsReceived in interface GMSMonitor.GMSMessageStatsMBean
getBytesReceived
public long getBytesReceived()
- Specified by:
getBytesReceived in interface GMSMonitor.GMSMessageStatsMBean
addBytesReceived
public long addBytesReceived(long bytesReceived)
- Specified by:
addBytesReceived in interface GMSMonitor.GMSMessageStatsMBean
getNumMsgsNoListener
public long getNumMsgsNoListener()
- Specified by:
getNumMsgsNoListener in interface GMSMonitor.GMSMessageStatsMBean
incrementNumMsgsNoHandler
public long incrementNumMsgsNoHandler()
- Specified by:
incrementNumMsgsNoHandler in interface GMSMonitor.GMSMessageStatsMBean
Copyright © 2012. All Rights Reserved.