Package org.apache.axis2.transport.base
Class TransportView
- java.lang.Object
-
- org.apache.axis2.transport.base.TransportView
-
- All Implemented Interfaces:
TransportViewMBean
public class TransportView extends Object implements TransportViewMBean
-
-
Constructor Summary
Constructors Constructor Description TransportView(TransportListener listener, TransportSender sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
Map
getResponseCodeTable()
long
getTimeoutsReceiving()
long
getTimeoutsSending()
void
maintenenceShutdown(long seconds)
void
pause()
void
resetStatistics()
void
resume()
void
start()
void
stop()
-
-
-
Constructor Detail
-
TransportView
public TransportView(TransportListener listener, TransportSender sender)
-
-
Method Detail
-
getMessagesReceived
public long getMessagesReceived()
- Specified by:
getMessagesReceived
in interfaceTransportViewMBean
-
getFaultsReceiving
public long getFaultsReceiving()
- Specified by:
getFaultsReceiving
in interfaceTransportViewMBean
-
getTimeoutsReceiving
public long getTimeoutsReceiving()
- Specified by:
getTimeoutsReceiving
in interfaceTransportViewMBean
-
getTimeoutsSending
public long getTimeoutsSending()
- Specified by:
getTimeoutsSending
in interfaceTransportViewMBean
-
getBytesReceived
public long getBytesReceived()
- Specified by:
getBytesReceived
in interfaceTransportViewMBean
-
getMessagesSent
public long getMessagesSent()
- Specified by:
getMessagesSent
in interfaceTransportViewMBean
-
getFaultsSending
public long getFaultsSending()
- Specified by:
getFaultsSending
in interfaceTransportViewMBean
-
getBytesSent
public long getBytesSent()
- Specified by:
getBytesSent
in interfaceTransportViewMBean
-
getMinSizeReceived
public long getMinSizeReceived()
- Specified by:
getMinSizeReceived
in interfaceTransportViewMBean
-
getMaxSizeReceived
public long getMaxSizeReceived()
- Specified by:
getMaxSizeReceived
in interfaceTransportViewMBean
-
getAvgSizeReceived
public double getAvgSizeReceived()
- Specified by:
getAvgSizeReceived
in interfaceTransportViewMBean
-
getMinSizeSent
public long getMinSizeSent()
- Specified by:
getMinSizeSent
in interfaceTransportViewMBean
-
getMaxSizeSent
public long getMaxSizeSent()
- Specified by:
getMaxSizeSent
in interfaceTransportViewMBean
-
getAvgSizeSent
public double getAvgSizeSent()
- Specified by:
getAvgSizeSent
in interfaceTransportViewMBean
-
getResponseCodeTable
public Map getResponseCodeTable()
- Specified by:
getResponseCodeTable
in interfaceTransportViewMBean
-
getActiveThreadCount
public int getActiveThreadCount()
- Specified by:
getActiveThreadCount
in interfaceTransportViewMBean
-
getQueueSize
public int getQueueSize()
- Specified by:
getQueueSize
in interfaceTransportViewMBean
-
start
public void start() throws Exception
- Specified by:
start
in interfaceTransportViewMBean
- Throws:
Exception
-
stop
public void stop() throws Exception
- Specified by:
stop
in interfaceTransportViewMBean
- Throws:
Exception
-
pause
public void pause() throws Exception
- Specified by:
pause
in interfaceTransportViewMBean
- Throws:
Exception
-
resume
public void resume() throws Exception
- Specified by:
resume
in interfaceTransportViewMBean
- Throws:
Exception
-
maintenenceShutdown
public void maintenenceShutdown(long seconds) throws Exception
- Specified by:
maintenenceShutdown
in interfaceTransportViewMBean
- Throws:
Exception
-
resetStatistics
public void resetStatistics()
- Specified by:
resetStatistics
in interfaceTransportViewMBean
-
getLastResetTime
public long getLastResetTime()
- Specified by:
getLastResetTime
in interfaceTransportViewMBean
-
getMetricsWindow
public long getMetricsWindow()
- Specified by:
getMetricsWindow
in interfaceTransportViewMBean
-
-