Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.event |
This package contains cluster and connection event related classes
|
Modifier and Type | Method and Description |
---|---|
ServerId |
ConnectionId.getServerId()
Gets the server id.
|
Constructor and Description |
---|
ConnectionDescription(ServerId serverId)
Construct a defaulted connection description instance.
|
Modifier and Type | Method and Description |
---|---|
ServerId |
ConnectionPoolEvent.getServerId()
Gets the server address associated with this connection pool
|
Constructor and Description |
---|
ConnectionPoolEvent(ServerId serverId)
Constructs a new instance of the event.
|
ConnectionPoolOpenedEvent(ServerId serverId,
ConnectionPoolSettings settings)
Constructs a new instance of the event.
|
ConnectionPoolWaitQueueEvent(ServerId serverId,
long threadId)
Constructs a new instance of the event.
|
Copyright © 2016. All Rights Reserved.