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 |
ConnectionPoolOpenedEvent.getServerId()
Gets the server id
|
ServerId |
ConnectionPoolClosedEvent.getServerId()
Gets the server id
|
ServerId |
ServerDescriptionChangedEvent.getServerId()
Gets the serverId.
|
ServerId |
ServerClosedEvent.getServerId()
Gets the serverId.
|
ServerId |
ServerOpeningEvent.getServerId()
Gets the serverId.
|
ServerId |
ConnectionPoolWaitQueueExitedEvent.getServerId()
Gets the server id.
|
ServerId |
ConnectionPoolWaitQueueEnteredEvent.getServerId()
Gets the server id.
|
Constructor and Description |
---|
ConnectionPoolClosedEvent(ServerId serverId)
Constructs a new instance of the event.
|
ConnectionPoolOpenedEvent(ServerId serverId,
ConnectionPoolSettings settings)
Constructs a new instance of the event.
|
ConnectionPoolWaitQueueEnteredEvent(ServerId serverId)
Construct an instance.
|
ConnectionPoolWaitQueueExitedEvent(ServerId serverId)
Construct an instance.
|
ServerClosedEvent(ServerId serverId)
Construct an instance.
|
ServerDescriptionChangedEvent(ServerId serverId,
ServerDescription newDescription,
ServerDescription previousDescription)
Construct an instance.
|
ServerOpeningEvent(ServerId serverId)
Construct an instance.
|
Copyright © 2018. All rights reserved.