Package com.mongodb.event
Interface ClusterListener
- 
- All Superinterfaces:
 java.util.EventListener
- All Known Implementing Classes:
 ClusterEventMulticaster,ClusterListenerAdapter
@Deprecated(since="2021-05-27") public interface ClusterListener extends java.util.EventListenerDeprecated.Usage of this API is not supported in AEM as a Cloud Service.A listener for cluster-related events.- Since:
 - 3.3
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract 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
void clusterOpening(ClusterOpeningEvent event)
Deprecated.Invoked when a cluster is opened.- Parameters:
 event- the event
 
- 
clusterClosed
void clusterClosed(ClusterClosedEvent event)
Deprecated.Invoked when a cluster is closed.- Parameters:
 event- the event
 
- 
clusterDescriptionChanged
void clusterDescriptionChanged(ClusterDescriptionChangedEvent event)
Deprecated.Invoked when a cluster description changes.- Parameters:
 event- the event
 
 - 
 
 -