| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | ReplicationConnectionUrl(ConnectionUrlParser
a connStrParser, Properties ConnectionUrlParser instance containing the parsed version of the original connection stringthe connection arguments map info)Constructs an instance of |
| public | ReplicationConnectionUrl(List<HostInfo>
the source hosts list to use in this connection string sources, List<HostInfo> the replica hosts list to use in this connection string replicas, Map<String, String> the properties common to all hosts properties)Constructs an instance of a |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the hosts list from this connection URL, filtered for the given view.the type of the view to use in the returned list of hosts. view)Overrides com. Returns a list of the hosts in this connection URL, filtered for the given view. |
| public HostInfo | Returns: the existing host info or a new independent onethe host:port part to search for hostPortPair)Returns an existing replica host info with the same host:port part or spawns a new isolated host info based on this connection URL if none was found. |
| public List | Returns: a list ofHostInfo instances corresponding to the given host:port pairsa list of host:port pairs hostPortPairs)Returns the list of |
| public List | Returns: a list of this connection URL replica hosts in the form of host:port pairsReturns a list of this connection URL replica hosts in the form of host:port pairs. |
| public HostInfo | Returns: the existing host info or a new independent onethe host:port part to search for hostPortPair)Returns an existing source host info with the same host:port part or spawns a new isolated host info based on this connection URL if none was found. |
| public List | Returns: a list ofHostInfo instances corresponding to the given host:port pairsa list of host:port pairs hostPortPairs)Returns the list of |
| public List | Returns: a list of this connection URL source hosts in the form of host:port pairsReturns a list of this connection URL source hosts in the form of host:port pairs. |
| 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 | |
| ReplicationConnectionUrl | back to summary |
|---|---|
| public ReplicationConnectionUrl(ConnectionUrlParser connStrParser, Properties info) Constructs an instance of
| |
| ReplicationConnectionUrl | back to summary |
|---|---|
| public ReplicationConnectionUrl(List<HostInfo> sources, List<HostInfo> replicas, Map<String, String> properties) Constructs an instance of a | |
| getHostsList | back to summary |
|---|---|
| public List Overrides com. Returns a list of the hosts in this connection URL, filtered for the given view.
| |
| getReplicaHostOrSpawnIsolated | back to summary |
|---|---|
| public HostInfo getReplicaHostOrSpawnIsolated(String hostPortPair) Returns an existing replica host info with the same host:port part or spawns a new isolated host info based on this connection URL if none was found. | |
| getReplicaHostsListFromHostPortPairs | back to summary |
|---|---|
| public List Returns the list of
| |
| getReplicasListAsHostPortPairs | back to summary |
|---|---|
| public List Returns a list of this connection URL replica hosts in the form of host:port pairs. | |
| getSourceHostOrSpawnIsolated | back to summary |
|---|---|
| public HostInfo getSourceHostOrSpawnIsolated(String hostPortPair) Returns an existing source host info with the same host:port part or spawns a new isolated host info based on this connection URL if none was found. | |
| getSourceHostsListFromHostPortPairs | back to summary |
|---|---|
| public List Returns the list of
| |
| getSourcesListAsHostPortPairs | back to summary |
|---|---|
| public List Returns a list of this connection URL source hosts in the form of host:port pairs. | |