Class ConnectionStatus


  • public class ConnectionStatus
    extends java.lang.Object
    ENTERPRISE EDITION API

    Connection Status
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionStatus​(int connectionCount, int activeConnectionCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getActiveConnectionCount()
      Get the count of clients that are currently actively transferring data.
      int getConnectionCount()
      Get the count of clients currently connected to this listener.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionStatus

        public ConnectionStatus​(int connectionCount,
                                int activeConnectionCount)
    • Method Detail

      • getConnectionCount

        public int getConnectionCount()
        Get the count of clients currently connected to this listener.
        Returns:
        number of clients currently connected to this listener.
      • getActiveConnectionCount

        public int getActiveConnectionCount()
        Get the count of clients that are currently actively transferring data. Note: this number is highly volatile. The actual number of active connections may have changed by the time the call returns.
        Returns:
        number of connections that are currently active.
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object