Package com.mongodb.event
Class ConnectionPoolOpenedEvent
- java.lang.Object
 - 
- com.mongodb.event.ConnectionPoolOpenedEvent
 
 
- 
@Deprecated(since="2021-05-27") public final class ConnectionPoolOpenedEvent extends java.lang.ObjectDeprecated.Usage of this API is not supported in AEM as a Cloud Service.An event signifying the opening of a connection pool.- Since:
 - 3.5
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ConnectionPoolOpenedEvent(ServerId serverId, ConnectionPoolSettings settings)Deprecated.Constructs a new instance of the event. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ServerIdgetServerId()Deprecated.Gets the server idConnectionPoolSettingsgetSettings()Deprecated.Gets the connection pool settings.java.lang.StringtoString()Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
ConnectionPoolOpenedEvent
public ConnectionPoolOpenedEvent(ServerId serverId, ConnectionPoolSettings settings)
Deprecated.Constructs a new instance of the event.- Parameters:
 serverId- the server idsettings- the connection pool settings
 
 - 
 
- 
Method Detail
- 
getServerId
public ServerId getServerId()
Deprecated.Gets the server id- Returns:
 - the server id
 
 
- 
getSettings
public ConnectionPoolSettings getSettings()
Deprecated.Gets the connection pool settings.- Returns:
 - the connection pool setttings.
 
 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -