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