Package com.mongodb.internal.connection
Class DefaultClusterableServerFactory
- java.lang.Object
 - 
- com.mongodb.internal.connection.DefaultClusterableServerFactory
 
 
- 
- All Implemented Interfaces:
 ClusterableServerFactory
@Deprecated(since="2021-05-27") public class DefaultClusterableServerFactory extends java.lang.Object implements ClusterableServerFactory
Deprecated. 
- 
- 
Constructor Summary
Constructors Constructor 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)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.mongodb.internal.connection.ClusterableServercreate(ServerAddress serverAddress, ServerListener serverListener, ClusterClock clusterClock)Deprecated.ServerSettingsgetSettings()Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
DefaultClusterableServerFactory
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)
Deprecated. 
 - 
 
- 
Method Detail
- 
create
public com.mongodb.internal.connection.ClusterableServer create(ServerAddress serverAddress, ServerListener serverListener, ClusterClock clusterClock)
Deprecated.- Specified by:
 createin interfaceClusterableServerFactory
 
- 
getSettings
public ServerSettings getSettings()
Deprecated.- Specified by:
 getSettingsin interfaceClusterableServerFactory
 
 - 
 
 -