Package com.mongodb.event
Class ConnectionPoolWaitQueueExitedEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionPoolWaitQueueExitedEvent
-
public final class ConnectionPoolWaitQueueExitedEvent extends java.lang.ObjectAn event for entering the wait queue of the connection pool.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description ConnectionPoolWaitQueueExitedEvent(ServerId serverId)Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerIdgetServerId()Gets the server id.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ConnectionPoolWaitQueueExitedEvent
public ConnectionPoolWaitQueueExitedEvent(ServerId serverId)
Construct an instance.- Parameters:
serverId- the server id
-
-
Method Detail
-
getServerId
public ServerId getServerId()
Gets the server id.- Returns:
- the server id
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-