| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final int | |
| private List | |
| private List | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | ReplicationDnsSrvConnectionUrl(ConnectionUrlParser
a connStrParser, Properties ConnectionUrlParser instance containing the parsed version of the original connection stringthe connection arguments map info)Constructs an instance of |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int | |
| public List | Returns: the hosts list from the result of the DNS SRV lookup, filtered for the given view.the type of the view to use in the returned list of hosts. view)Overrides com. Returns a hosts list built from the result of the DNS SRV lookup for the original host name. |
| DEFAULT_HOST | back to summary |
|---|---|
| private static final String DEFAULT_HOST | |
| DEFAULT_PORT | back to summary |
|---|---|
| private static final int DEFAULT_PORT | |
| replicaHosts | back to summary |
|---|---|
| private List<HostInfo> replicaHosts | |
| sourceHosts | back to summary |
|---|---|
| private List<HostInfo> sourceHosts | |
| TYPE_REPLICA | back to summary |
|---|---|
| private static final String TYPE_REPLICA | |
| TYPE_SOURCE | back to summary |
|---|---|
| private static final String TYPE_SOURCE | |
| ReplicationDnsSrvConnectionUrl | back to summary |
|---|---|
| public ReplicationDnsSrvConnectionUrl(ConnectionUrlParser connStrParser, Properties info) Constructs an instance of
| |
| getDefaultHost | back to summary |
|---|---|
| public String getDefaultHost() Overrides com. Doc from com. Returns the default host. Subclasses must override this method if they have different default host value. | |
| getDefaultPort | back to summary |
|---|---|
| public int getDefaultPort() Overrides com. Doc from com. Returns the default port. Subclasses must override this method if they have different default port value.
| |
| getHostsList | back to summary |
|---|---|
| public List Overrides com. Returns a hosts list built from the result of the DNS SRV lookup for the original host name.
| |