org.apache.axis2.transport.base
Class TransportView

java.lang.Object
  extended by org.apache.axis2.transport.base.TransportView
All Implemented Interfaces:
TransportViewMBean

public class TransportView
extends java.lang.Object
implements TransportViewMBean


Field Summary
static int PAUSED
           
static int RUNNING
           
static int SHUTTING_DOWN
           
static int STOPPED
           
 
Constructor Summary
TransportView(org.apache.axis2.transport.TransportListener listener, org.apache.axis2.transport.TransportSender sender)
           
 
Method Summary
 int getActiveThreadCount()
           
 double getAvgSizeReceived()
           
 double getAvgSizeSent()
           
 long getBytesReceived()
           
 long getBytesSent()
           
 long getFaultsReceiving()
           
 long getFaultsSending()
           
 long getLastResetTime()
           
 long getMaxSizeReceived()
           
 long getMaxSizeSent()
           
 long getMessagesReceived()
           
 long getMessagesSent()
           
 long getMetricsWindow()
           
 long getMinSizeReceived()
           
 long getMinSizeSent()
           
 int getQueueSize()
           
 java.util.Map getResponseCodeTable()
           
 long getTimeoutsReceiving()
           
 long getTimeoutsSending()
           
 void maintenenceShutdown(long seconds)
           
 void pause()
           
 void resetStatistics()
           
 void resume()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOPPED

public static final int STOPPED
See Also:
Constant Field Values

RUNNING

public static final int RUNNING
See Also:
Constant Field Values

PAUSED

public static final int PAUSED
See Also:
Constant Field Values

SHUTTING_DOWN

public static final int SHUTTING_DOWN
See Also:
Constant Field Values
Constructor Detail

TransportView

public TransportView(org.apache.axis2.transport.TransportListener listener,
                     org.apache.axis2.transport.TransportSender sender)
Method Detail

getMessagesReceived

public long getMessagesReceived()
Specified by:
getMessagesReceived in interface TransportViewMBean

getFaultsReceiving

public long getFaultsReceiving()
Specified by:
getFaultsReceiving in interface TransportViewMBean

getTimeoutsReceiving

public long getTimeoutsReceiving()
Specified by:
getTimeoutsReceiving in interface TransportViewMBean

getTimeoutsSending

public long getTimeoutsSending()
Specified by:
getTimeoutsSending in interface TransportViewMBean

getBytesReceived

public long getBytesReceived()
Specified by:
getBytesReceived in interface TransportViewMBean

getMessagesSent

public long getMessagesSent()
Specified by:
getMessagesSent in interface TransportViewMBean

getFaultsSending

public long getFaultsSending()
Specified by:
getFaultsSending in interface TransportViewMBean

getBytesSent

public long getBytesSent()
Specified by:
getBytesSent in interface TransportViewMBean

getMinSizeReceived

public long getMinSizeReceived()
Specified by:
getMinSizeReceived in interface TransportViewMBean

getMaxSizeReceived

public long getMaxSizeReceived()
Specified by:
getMaxSizeReceived in interface TransportViewMBean

getAvgSizeReceived

public double getAvgSizeReceived()
Specified by:
getAvgSizeReceived in interface TransportViewMBean

getMinSizeSent

public long getMinSizeSent()
Specified by:
getMinSizeSent in interface TransportViewMBean

getMaxSizeSent

public long getMaxSizeSent()
Specified by:
getMaxSizeSent in interface TransportViewMBean

getAvgSizeSent

public double getAvgSizeSent()
Specified by:
getAvgSizeSent in interface TransportViewMBean

getResponseCodeTable

public java.util.Map getResponseCodeTable()
Specified by:
getResponseCodeTable in interface TransportViewMBean

getActiveThreadCount

public int getActiveThreadCount()
Specified by:
getActiveThreadCount in interface TransportViewMBean

getQueueSize

public int getQueueSize()
Specified by:
getQueueSize in interface TransportViewMBean

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface TransportViewMBean
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface TransportViewMBean
Throws:
java.lang.Exception

pause

public void pause()
           throws java.lang.Exception
Specified by:
pause in interface TransportViewMBean
Throws:
java.lang.Exception

resume

public void resume()
            throws java.lang.Exception
Specified by:
resume in interface TransportViewMBean
Throws:
java.lang.Exception

maintenenceShutdown

public void maintenenceShutdown(long seconds)
                         throws java.lang.Exception
Specified by:
maintenenceShutdown in interface TransportViewMBean
Throws:
java.lang.Exception

resetStatistics

public void resetStatistics()
Specified by:
resetStatistics in interface TransportViewMBean

getLastResetTime

public long getLastResetTime()
Specified by:
getLastResetTime in interface TransportViewMBean

getMetricsWindow

public long getMetricsWindow()
Specified by:
getMetricsWindow in interface TransportViewMBean


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.