Package com.aerospike.client.cluster
Class ConnectionStats
java.lang.Object
com.aerospike.client.cluster.ConnectionStats
Connection statistics.
Note: InUse plus inPool connections should be equal to the total number of currently open connections, i.e.
InUse + inPool == opened - closed
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
Total number of node connections closed since node creation.final int
Initialized connections in connection pool(s) that are not currently active.final int
Active connections from connection pool(s) currently executing commands.final int
Total number of node connections opened since node creation. -
Constructor Summary
ConstructorsConstructorDescriptionConnectionStats
(int inUse, int inPool, int opened, int closed) Connection statistics constructor. -
Method Summary
-
Field Details
-
inUse
public final int inUseActive connections from connection pool(s) currently executing commands. -
inPool
public final int inPoolInitialized connections in connection pool(s) that are not currently active. -
opened
public final int openedTotal number of node connections opened since node creation. -
closed
public final int closedTotal number of node connections closed since node creation.
-
-
Constructor Details
-
ConnectionStats
public ConnectionStats(int inUse, int inPool, int opened, int closed) Connection statistics constructor.
-
-
Method Details