Package com.mongodb.event
Class ConnectionCheckedOutEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionCheckedOutEvent
-
public final class ConnectionCheckedOutEvent extends Object
An event for checking our a connection from the pool.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description ConnectionCheckedOutEvent(ConnectionId connectionId)
Construct an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionId
getConnectionId()
Gets the connection idString
toString()
-
-
-
Constructor Detail
-
ConnectionCheckedOutEvent
public ConnectionCheckedOutEvent(ConnectionId connectionId)
Construct an instance- Parameters:
connectionId
- the connectionId
-
-
Method Detail
-
getConnectionId
public ConnectionId getConnectionId()
Gets the connection id- Returns:
- the connection id
-
-