Class ServerClosedEvent

java.lang.Object
com.mongodb.event.ServerClosedEvent

@Deprecated(since="2021-05-27") public final class ServerClosedEvent extends Object
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A server opening event.
Since:
3.3
  • Constructor Details

    • ServerClosedEvent

      public ServerClosedEvent(ServerId serverId)
      Deprecated.
      Construct an instance.
      Parameters:
      serverId - the non-null serverId
  • Method Details

    • getServerId

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

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