public final class EventListenerHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ClusterListener |
NO_OP_CLUSTER_LISTENER |
static ConnectionPoolListener |
NO_OP_CONNECTION_POOL_LISTENER |
static ServerListener |
NO_OP_SERVER_LISTENER |
static ServerMonitorListener |
NO_OP_SERVER_MONITOR_LISTENER |
Modifier and Type | Method and Description |
---|---|
static ServerListener |
createServerListener(ServerSettings serverSettings,
ServerListener additionalServerListener) |
static ClusterListener |
getClusterListener(ClusterSettings clusterSettings) |
static CommandListener |
getCommandListener(java.util.List<CommandListener> commandListeners) |
static ConnectionPoolListener |
getConnectionPoolListener(ConnectionPoolSettings connectionPoolSettings) |
static ServerMonitorListener |
getServerMonitorListener(ServerSettings serverSettings) |
public static final ServerListener NO_OP_SERVER_LISTENER
public static final ServerMonitorListener NO_OP_SERVER_MONITOR_LISTENER
public static final ClusterListener NO_OP_CLUSTER_LISTENER
public static final ConnectionPoolListener NO_OP_CONNECTION_POOL_LISTENER
public static ClusterListener getClusterListener(ClusterSettings clusterSettings)
public static CommandListener getCommandListener(java.util.List<CommandListener> commandListeners)
public static ConnectionPoolListener getConnectionPoolListener(ConnectionPoolSettings connectionPoolSettings)
public static ServerMonitorListener getServerMonitorListener(ServerSettings serverSettings)
public static ServerListener createServerListener(ServerSettings serverSettings, ServerListener additionalServerListener)
Copyright © 2010 - 2023 Adobe. All Rights Reserved