Package com.mongodb.event
Class ConnectionCheckedInEvent
java.lang.Object
com.mongodb.event.ConnectionCheckedInEvent
An event for checking in a connection to the pool.
Such a connection is considered available until it becomes in use
or closed.
- Since:
- 3.5
-
Constructor Summary
ConstructorDescriptionConnectionCheckedInEvent
(ConnectionId connectionId, long operationId) Construct an instance -
Method Summary
Modifier and TypeMethodDescriptionGets the connection idlong
Gets the operation identifiertoString()
-
Constructor Details
-
ConnectionCheckedInEvent
Construct an instance- Parameters:
connectionId
- the connectionIdoperationId
- the operation id- Since:
- 4.10
-
-
Method Details