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