Package com.couchbase.lite
Class ConnectionStatus
- java.lang.Object
-
- com.couchbase.lite.ConnectionStatus
-
public class ConnectionStatus extends Object
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.String
toString()
-
-
-
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.
-
-