Class Axis2TransportHelper


  • public class Axis2TransportHelper
    extends Object
    Provides functionality to pause and resume listeners and transports and retrieve current thread count.
    • Constructor Detail

      • Axis2TransportHelper

        public Axis2TransportHelper​(org.apache.axis2.context.ConfigurationContext configurationContext)
        Creates a new Axis2TransportHelper using the provided Axis2 configuration context.
        Parameters:
        configurationContext - an Axis2 configuration context
    • Method Detail

      • pauseListeners

        public void pauseListeners()
        Pauses all Axis2 listeners which support this operation.
      • resumeListeners

        public void resumeListeners()
        Resumes all paused Axis2 listeners.
      • pauseSenders

        public void pauseSenders()
        Pauses all Axis2 senders which support this operation.
      • resumeSenders

        public void resumeSenders()
        Resumes all paused Axis2 senders.
      • getPendingListenerThreadCount

        public int getPendingListenerThreadCount()
        Determines the total number of pending listener threads (active + queued).
        Returns:
        the total number of pending listener threads (active + queued).
      • getActiveConnectionsCount

        public int getActiveConnectionsCount()
      • getPendingSenderThreadCount

        public int getPendingSenderThreadCount()
        Determines the total number of pending sender threads (active + queued).
        Returns:
        the total number of pending sender threads (active + queued).