| Package | Description |
|---|---|
| com.mongodb |
Main package with core files.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DBPort
Deprecated.
This class is NOT a part of public API and will be dropped in 3.x versions.
|
| Modifier and Type | Field and Description |
|---|---|
private ConcurrentPool<Connection> |
PooledConnectionProvider.pool |
| Modifier and Type | Method and Description |
|---|---|
Connection |
PooledConnectionProvider.ConnectionItemFactory.create() |
Connection |
DBPortFactory.create(ServerAddress serverAddress,
PooledConnectionProvider provider,
int generation) |
Connection |
ConnectionFactory.create(ServerAddress serverAddress,
PooledConnectionProvider provider,
int generation) |
Connection |
PooledConnectionProvider.get() |
Connection |
PooledConnectionProvider.get(long timeout,
java.util.concurrent.TimeUnit timeUnit) |
Connection |
Server.getConnection(long maxWaitTime,
java.util.concurrent.TimeUnit timeUnit) |
Connection |
DefaultServer.getConnection(long maxWaitTime,
java.util.concurrent.TimeUnit timeUnit) |
Connection |
BaseCluster.WrappedServer.getConnection(long maxWaitTime,
java.util.concurrent.TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
PooledConnectionProvider.ConnectionItemFactory.close(Connection connection) |
private boolean |
PooledConnectionProvider.fromPreviousGeneration(Connection connection) |
private boolean |
PooledConnectionProvider.pastMaxIdleTime(Connection connection) |
private boolean |
PooledConnectionProvider.pastMaxLifeTime(Connection connection) |
void |
PooledConnectionProvider.release(Connection connection) |
private boolean |
PooledConnectionProvider.shouldPrune(Connection connection) |
boolean |
PooledConnectionProvider.ConnectionItemFactory.shouldPrune(Connection connection) |