Class ConnectionCheckOutFailedEvent

java.lang.Object
com.mongodb.event.ConnectionCheckOutFailedEvent

public final class ConnectionCheckOutFailedEvent extends Object
An event for when checking out a connection fails.
Since:
4.0
  • Constructor Details

    • ConnectionCheckOutFailedEvent

      public ConnectionCheckOutFailedEvent(ServerId serverId, ConnectionCheckOutFailedEvent.Reason reason)
      Construct an instance
      Parameters:
      serverId - the server id
      reason - the reason the connection check out failed
  • Method Details