Package com.mongodb.internal.connection
Class DefaultDnsSrvRecordMonitorFactory
- java.lang.Object
-
- com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory
-
- All Implemented Interfaces:
DnsSrvRecordMonitorFactory
public class DefaultDnsSrvRecordMonitorFactory extends java.lang.Object implements DnsSrvRecordMonitorFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultDnsSrvRecordMonitorFactory(ClusterId clusterId, ServerSettings serverSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsSrvRecordMonitor
create(java.lang.String hostName, com.mongodb.internal.connection.DnsSrvRecordInitializer dnsSrvRecordInitializer)
-
-
-
Constructor Detail
-
DefaultDnsSrvRecordMonitorFactory
public DefaultDnsSrvRecordMonitorFactory(ClusterId clusterId, ServerSettings serverSettings)
-
-
Method Detail
-
create
public DnsSrvRecordMonitor create(java.lang.String hostName, com.mongodb.internal.connection.DnsSrvRecordInitializer dnsSrvRecordInitializer)
- Specified by:
create
in interfaceDnsSrvRecordMonitorFactory
-
-