Package com.mongodb.event
Class ConnectionCheckOutStartedEvent
java.lang.Object
com.mongodb.event.ConnectionCheckOutStartedEvent
An event for when the driver starts to check out a connection.
- Since:
- 4.0
-
Constructor Summary
ConstructorDescriptionConnectionCheckOutStartedEvent
(ServerId serverId) Deprecated.ConnectionCheckOutStartedEvent
(ServerId serverId, long operationId) Construct an instance -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the operation identifierGets the server idtoString()
-
Constructor Details
-
ConnectionCheckOutStartedEvent
Construct an instance- Parameters:
serverId
- the server idoperationId
- the operation id- Since:
- 4.10
-
ConnectionCheckOutStartedEvent
Deprecated.Construct an instance- Parameters:
serverId
- the server id
-
-
Method Details
ConnectionCheckOutStartedEvent(ServerId, long)