Package com.mongodb.event
Class ClusterListenerAdapter
- java.lang.Object
 - 
- com.mongodb.event.ClusterListenerAdapter
 
 
- 
- All Implemented Interfaces:
 ClusterListener,java.util.EventListener
@Deprecated(since="2021-05-27") public abstract class ClusterListenerAdapter extends java.lang.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 Constructor Description ClusterListenerAdapter()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclusterClosed(ClusterClosedEvent event)Deprecated.Invoked when a cluster is closed.voidclusterDescriptionChanged(ClusterDescriptionChangedEvent event)Deprecated.Invoked when a cluster description changes.voidclusterOpening(ClusterOpeningEvent event)Deprecated.Invoked when a cluster is opened. 
 - 
 
- 
- 
Method Detail
- 
clusterOpening
public void clusterOpening(ClusterOpeningEvent event)
Deprecated.Description copied from interface:ClusterListenerInvoked when a cluster is opened.- Specified by:
 clusterOpeningin interfaceClusterListener- Parameters:
 event- the event
 
- 
clusterClosed
public void clusterClosed(ClusterClosedEvent event)
Deprecated.Description copied from interface:ClusterListenerInvoked when a cluster is closed.- Specified by:
 clusterClosedin interfaceClusterListener- Parameters:
 event- the event
 
- 
clusterDescriptionChanged
public void clusterDescriptionChanged(ClusterDescriptionChangedEvent event)
Deprecated.Description copied from interface:ClusterListenerInvoked when a cluster description changes.- Specified by:
 clusterDescriptionChangedin interfaceClusterListener- Parameters:
 event- the event
 
 - 
 
 -