Package com.mongodb.event
Class ServerDescriptionChangedEvent
java.lang.Object
com.mongodb.event.ServerDescriptionChangedEvent
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An event for changes to the description of a server.
- Since:
- 3.3
-
Constructor Summary
ConstructorsConstructorDescriptionServerDescriptionChangedEvent(ServerId serverId, ServerDescription newDescription, ServerDescription previousDescription) Deprecated.Construct an instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the new server description.Deprecated.Gets the previous server description.Deprecated.Gets the serverId.toString()Deprecated.
-
Constructor Details
-
ServerDescriptionChangedEvent
public ServerDescriptionChangedEvent(ServerId serverId, ServerDescription newDescription, ServerDescription previousDescription) Deprecated.Construct an instance.- Parameters:
serverId- the non-null serverIdnewDescription- the non-null new descriptionpreviousDescription- the non-null previous description
-
-
Method Details
-
getServerId
Deprecated.Gets the serverId.- Returns:
- the serverId
-
getNewDescription
Deprecated.Gets the new server description.- Returns:
- the new server description
-
getPreviousDescription
Deprecated.Gets the previous server description.- Returns:
- the previous server description
-
toString
Deprecated.
-