com.sun.enterprise.ee.cms.impl.common
Class GMSMonitor.MessageStats

java.lang.Object
  extended by 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


Constructor Summary
GMSMonitor.MessageStats(String component, GMSMonitor gmsMonitor)
           
 
Method Summary
 long addBytesReceived(long bytesReceived)
           
 long addBytesSent(long bytesSent)
           
 long addReceiveDuration(long duration)
           
 long addSendDuration(long duration)
           
 void close()
           
 long getBytesReceived()
           
 long getBytesSent()
           
 long getMaxReceiveDuration()
           
 long getMaxSendDuration()
           
 long getNumFailMsgSend()
           
 long getNumMsgsNoListener()
           
 long getNumMsgsReceived()
           
 long getNumMsgsSent()
           
 long getReceiveDuration()
           
 long getSendDuration()
           
 long getSendWriteTimeouts()
           
 long incrementNumFailMsgSend()
           
 long incrementNumMsgsNoHandler()
           
 long incrementNumMsgsReceived()
           
 long incrementNumMsgsSent()
           
 long incrementSendWriteTimeout()
           
 void register()
           
 void setMaxReceiveDuration(long duration)
           
 void setMaxSendDuration(long duration)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GMSMonitor.MessageStats

public GMSMonitor.MessageStats(String component,
                               GMSMonitor gmsMonitor)
Method Detail

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.