public interface ConnectionPoolStatisticsMBean
A standard MXBean interface for a Mongo connection pool, for use on Java 6 and above virtual machines.
This interface is NOT part of the public API. Be prepared for non-binary compatible changes in minor releases.
Modifier and Type | Method and Description |
---|---|
int |
getCheckedOutCount()
Gets the count of connections that are currently in use.
|
String |
getHost()
Gets the host that this connection pool is connecting to.
|
int |
getMaxSize()
Gets the maximum allowed size of the pool, including idle and in-use members.
|
int |
getMinSize()
Gets the minimum allowed size of the pool, including idle and in-use members.
|
int |
getPort()
Gets the port that this connection pool is connecting to.
|
int |
getSize()
Gets the current size of the pool, including idle and and in-use members.
|
int |
getWaitQueueSize()
Gets the size of the wait queue for a connection from this pool.
|
String getHost()
int getPort()
int getMinSize()
int getMaxSize()
int getSize()
int getCheckedOutCount()
int getWaitQueueSize()