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 Details

    • ConnectionCheckedInEvent

      public ConnectionCheckedInEvent(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