Class ConnectionPoolWaitQueueEnteredEvent

java.lang.Object
com.mongodb.event.ConnectionPoolWaitQueueEnteredEvent

@Deprecated public final class ConnectionPoolWaitQueueEnteredEvent extends Object
Deprecated.
In the next major release, this event will no longer be published
An event for entering the wait queue of the connection pool.
Since:
3.5
  • Constructor Details

    • ConnectionPoolWaitQueueEnteredEvent

      public ConnectionPoolWaitQueueEnteredEvent(ServerId serverId)
      Deprecated.
      Construct an instance.
      Parameters:
      serverId - the server id
  • Method Details

    • getServerId

      public ServerId getServerId()
      Deprecated.
      Gets the server id.
      Returns:
      the server id
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object