Package com.mongodb.event
Class ConnectionCheckedOutEvent
java.lang.Object
com.mongodb.event.ConnectionCheckedOutEvent
An event for checking out a connection from the pool.
- Since:
- 3.5
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionCheckedOutEvent(ConnectionId connectionId) Deprecated.ConnectionCheckedOutEvent(ConnectionId connectionId, long operationId) Construct an instance -
Method Summary
Modifier and TypeMethodDescriptionGets the connection idlongGets the operation identifiertoString()
-
Constructor Details
-
ConnectionCheckedOutEvent
Construct an instance- Parameters:
connectionId- the connectionIdoperationId- the operation id- Since:
- 4.10
-
ConnectionCheckedOutEvent
Deprecated.Construct an instance- Parameters:
connectionId- the connectionId
-
-
Method Details
ConnectionCheckedOutEvent(ConnectionId, long)