public class DefaultClusterableServerFactory extends java.lang.Object implements ClusterableServerFactory
Constructor and Description |
---|
DefaultClusterableServerFactory(ClusterId clusterId,
ClusterSettings clusterSettings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.util.List<MongoCredential> credentialList,
CommandListener commandListener,
java.lang.String applicationName,
MongoDriverInformation mongoDriverInformation,
java.util.List<MongoCompressor> compressorList) |
Modifier and Type | Method and Description |
---|---|
com.mongodb.internal.connection.ClusterableServer |
create(ServerAddress serverAddress,
ServerListener serverListener,
ClusterClock clusterClock) |
ServerSettings |
getSettings() |
public DefaultClusterableServerFactory(ClusterId clusterId, ClusterSettings clusterSettings, ServerSettings serverSettings, ConnectionPoolSettings connectionPoolSettings, StreamFactory streamFactory, StreamFactory heartbeatStreamFactory, java.util.List<MongoCredential> credentialList, CommandListener commandListener, java.lang.String applicationName, MongoDriverInformation mongoDriverInformation, java.util.List<MongoCompressor> compressorList)
public com.mongodb.internal.connection.ClusterableServer create(ServerAddress serverAddress, ServerListener serverListener, ClusterClock clusterClock)
create
in interface ClusterableServerFactory
public ServerSettings getSettings()
getSettings
in interface ClusterableServerFactory
Copyright © 2010 - 2020 Adobe. All Rights Reserved