Class ConnectionStatus

java.lang.Object
com.couchbase.lite.ConnectionStatus

public class ConnectionStatus extends Object
ENTERPRISE EDITION API

Connection Status
  • Constructor Details

    • ConnectionStatus

      public ConnectionStatus(int connectionCount, int activeConnectionCount)
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object