Package com.mongodb.internal.event
Class EventListenerHelper
java.lang.Object
com.mongodb.internal.event.EventListenerHelper
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ClusterListenerDeprecated.static final ConnectionPoolListenerDeprecated.static final ServerListenerDeprecated.static final ServerMonitorListenerDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerListenercreateServerListener(ServerSettings serverSettings, ServerListener additionalServerListener) Deprecated.static ClusterListenergetClusterListener(ClusterSettings clusterSettings) Deprecated.static CommandListenergetCommandListener(List<CommandListener> commandListeners) Deprecated.static ConnectionPoolListenergetConnectionPoolListener(ConnectionPoolSettings connectionPoolSettings) Deprecated.static ServerMonitorListenergetServerMonitorListener(ServerSettings serverSettings) Deprecated.
-
Field Details
-
NO_OP_SERVER_LISTENER
Deprecated. -
NO_OP_SERVER_MONITOR_LISTENER
Deprecated. -
NO_OP_CLUSTER_LISTENER
Deprecated. -
NO_OP_CONNECTION_POOL_LISTENER
Deprecated.
-
-
Method Details
-
getClusterListener
Deprecated. -
getCommandListener
Deprecated. -
getConnectionPoolListener
public static ConnectionPoolListener getConnectionPoolListener(ConnectionPoolSettings connectionPoolSettings) Deprecated. -
getServerMonitorListener
Deprecated. -
createServerListener
public static ServerListener createServerListener(ServerSettings serverSettings, ServerListener additionalServerListener) Deprecated.
-