| Access | Constructor and Description |
|---|---|
| public | LoadBalanceConnectionUrl(ConnectionUrlParser
a connStrParser, Properties ConnectionUrlParser instance containing the parsed version of the original connection stringthe connection arguments map info)Constructs an instance of |
| public | LoadBalanceConnectionUrl(List<HostInfo>
the hosts list to use in this connection URL hosts, Map<String, String> the properties common to all hosts properties)Constructs an instance of a |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: a list of this connection URL hosts in the form of host:port pairsReturns a list of this connection URL hosts in the form of host:port pairs. |
| public List | Returns: a list ofHostInfo instances corresponding to the given host:port pairsa list of host:port pairs hostPortPairs)Returns the list of |
| protected void | injectPerTypeProperties(Map<String, String>
the properties already containing all known connection arguments props)Overrides com. Injects additional properties into the connection arguments while it's being constructed. |
| LoadBalanceConnectionUrl | back to summary |
|---|---|
| public LoadBalanceConnectionUrl(ConnectionUrlParser connStrParser, Properties info) Constructs an instance of
| |
| LoadBalanceConnectionUrl | back to summary |
|---|---|
| public LoadBalanceConnectionUrl(List<HostInfo> hosts, Map<String, String> properties) Constructs an instance of a | |
| getHostInfoListAsHostPortPairs | back to summary |
|---|---|
| public List Returns a list of this connection URL hosts in the form of host:port pairs. | |
| getHostInfoListFromHostPortPairs | back to summary |
|---|---|
| public List Returns the list of
| |
| injectPerTypeProperties | back to summary |
|---|---|
| protected void injectPerTypeProperties(Map<String, String> props) Overrides com. Injects additional properties into the connection arguments while it's being constructed. | |