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 Details

    • ConnectionCheckedOutEvent

      public ConnectionCheckedOutEvent(ConnectionId connectionId)
      Construct an instance
      Parameters:
      connectionId - the connectionId
  • Method Details

    • getConnectionId

      public ConnectionId getConnectionId()
      Gets the connection id
      Returns:
      the connection id
    • toString

      public String toString()
      Overrides:
      toString in class Object