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