|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.synapse.core.axis2.Axis2TransportHelper
public class Axis2TransportHelper
Provides functionality to pause and resume listeners and transports and retrieve current thread count.
Constructor Summary | |
---|---|
Axis2TransportHelper(ConfigurationContext configurationContext)
Creates a new Axis2TransportHelper using the provided Axis2 configuration context. |
Method Summary | |
---|---|
int |
getActiveConnectionsCount()
|
int |
getPendingListenerThreadCount()
Determines the total number of pending listener threads (active + queued). |
int |
getPendingSenderThreadCount()
Determines the total number of pending sender threads (active + queued). |
void |
pauseListeners()
Pauses all Axis2 listeners which support this operation. |
void |
pauseSenders()
Pauses all Axis2 senders which support this operation. |
void |
resumeListeners()
Resumes all paused Axis2 listeners. |
void |
resumeSenders()
Resumes all paused Axis2 senders. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Axis2TransportHelper(ConfigurationContext configurationContext)
configurationContext
- an Axis2 configuration contextMethod Detail |
---|
public void pauseListeners()
public void resumeListeners()
public void pauseSenders()
public void resumeSenders()
public int getPendingListenerThreadCount()
public int getActiveConnectionsCount()
public int getPendingSenderThreadCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |