kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 21aa364a9b4a666201282457f8d0f71f06d9f3274e43c459bb1e081852548ee2 |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-22 18:06 +01:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-22 18:06 +01:00 |
| Parents | 44e46587819e |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/policies/AddressTranslator.java +2 −2
| @@ -29,7 +29,7 @@ | ||
| 29 | 29 | * {@code rpc_address} in the node yaml file. In most case, this is the correct |
| 30 | 30 | * address to use by the driver and that is what is used by default. However, |
| 31 | 31 | * sometimes the addresses received through this mechanism will either not be |
| 32 | - * reachable directly by the driver or should not be the prefered address to use | |
| 32 | + * reachable directly by the driver or should not be the preferred address to use | |
| 33 | 33 | * to reach the node (for instance, the {@code rpc_address} set on Cassandra nodes |
| 34 | 34 | * might be a private IP, but some clients may have to use a public IP, or |
| 35 | 35 | * pass by a router to reach that node). This interface allows to deal with |
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | * to another address to be used by the driver for connection. |
| 38 | 38 | * <p/> |
| 39 | 39 | * Please note that the contact points addresses provided while creating the |
| 40 | - * {@link Cluster} instance are not "tanslated", only IP address retrieve from or sent | |
| 40 | + * {@link Cluster} instance are not "translated", only IP address retrieved from or sent | |
| 41 | 41 | * by Cassandra nodes to the driver are. |
| 42 | 42 | */ |
| 43 | 43 | public interface AddressTranslator { |