| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | FailoverDnsSrvConnectionUrl(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. This argument is ignored in this implementation. 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 | |
| FailoverDnsSrvConnectionUrl | back to summary |
|---|---|
| public FailoverDnsSrvConnectionUrl(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.
| |