Package com.couchbase.lite
Class ConnectionStatus
java.lang.Object
com.couchbase.lite.ConnectionStatus
ENTERPRISE EDITION API
Connection Status
Connection Status
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the count of clients that are currently actively transferring data.int
Get the count of clients currently connected to this listener.toString()
-
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
-