Package com.mongodb.event
Class ClusterListenerAdapter
java.lang.Object
com.mongodb.event.ClusterListenerAdapter
- All Implemented Interfaces:
ClusterListener,EventListener
@Deprecated(since="2021-05-27")
public abstract class ClusterListenerAdapter
extends Object
implements ClusterListener
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An adapter for cluster listener implementations, for clients that want to listen for a subset of cluster events. Extend this class to
listen for cluster events and override the methods of interest.
- Since:
- 3.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclusterClosed(ClusterClosedEvent event) Deprecated.Invoked when a cluster is closed.voidDeprecated.Invoked when a cluster description changes.voidDeprecated.Invoked when a cluster is opened.
-
Constructor Details
-
ClusterListenerAdapter
public ClusterListenerAdapter()Deprecated.
-
-
Method Details
-
clusterOpening
Deprecated.Description copied from interface:ClusterListenerInvoked when a cluster is opened.- Specified by:
clusterOpeningin interfaceClusterListener- Parameters:
event- the event
-
clusterClosed
Deprecated.Description copied from interface:ClusterListenerInvoked when a cluster is closed.- Specified by:
clusterClosedin interfaceClusterListener- Parameters:
event- the event
-
clusterDescriptionChanged
Deprecated.Description copied from interface:ClusterListenerInvoked when a cluster description changes.- Specified by:
clusterDescriptionChangedin interfaceClusterListener- Parameters:
event- the event
-