Package com.mongodb.event
Class ServerMonitorListenerAdapter
- java.lang.Object
-
- com.mongodb.event.ServerMonitorListenerAdapter
-
- All Implemented Interfaces:
ServerMonitorListener
,EventListener
@Deprecated public class ServerMonitorListenerAdapter extends Object implements ServerMonitorListener
Deprecated.An adapter for server monitor listener implementations, for clients that want to listen for a subset of server monitor-related events. Extend this class to listen for server monitor-related events and override the methods of interest.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description ServerMonitorListenerAdapter()
Deprecated.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.mongodb.event.ServerMonitorListener
serverHearbeatStarted, serverHeartbeatFailed, serverHeartbeatSucceeded
-
-