Package com.mongodb.event
Interface ServerListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
ServerEventMulticaster
,ServerListenerAdapter
@Deprecated(since="2021-05-27") public interface ServerListener extends java.util.EventListener
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A listener for server-related events- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
serverClosed(ServerClosedEvent event)
Deprecated.Listener for server closed events.void
serverDescriptionChanged(ServerDescriptionChangedEvent event)
Deprecated.Listener for server description changed events.void
serverOpening(ServerOpeningEvent event)
Deprecated.Listener for server opening events.
-
-
-
Method Detail
-
serverOpening
void serverOpening(ServerOpeningEvent event)
Deprecated.Listener for server opening events.- Parameters:
event
- the server opening event
-
serverClosed
void serverClosed(ServerClosedEvent event)
Deprecated.Listener for server closed events.- Parameters:
event
- the server closed event
-
serverDescriptionChanged
void serverDescriptionChanged(ServerDescriptionChangedEvent event)
Deprecated.Listener for server description changed events.- Parameters:
event
- the server description changed event
-
-