Package com.mongodb.event
Class ConnectionPoolWaitQueueExitedEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionPoolWaitQueueExitedEvent
-
@Deprecated public final class ConnectionPoolWaitQueueExitedEvent extends java.lang.Object
Deprecated.In the next major release, this event will no longer be publishedAn event for entering the wait queue of the connection pool.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description ConnectionPoolWaitQueueExitedEvent(ServerId serverId)
Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ServerId
getServerId()
Deprecated.Gets the server id.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ConnectionPoolWaitQueueExitedEvent
public ConnectionPoolWaitQueueExitedEvent(ServerId serverId)
Deprecated.Construct an instance.- Parameters:
serverId
- the server id
-
-
Method Detail
-
getServerId
public ServerId getServerId()
Deprecated.Gets the server id.- Returns:
- the server id
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-