kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | a8e90ec9201c7ff1726739c2f000ed8134ef77e8111875286f05310064c934df |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2014-10-31 14:39 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2014-11-03 11:32 +01:00 |
| Parents | 3d0416253712 |
2 files changed
modified driver-core/src/main/java/com/datastax/driver/core/Cluster.java +1 −1
| @@ -1605,7 +1605,7 @@ | ||
| 1605 | 1605 | }.start(); |
| 1606 | 1606 | } |
| 1607 | 1607 | |
| 1608 | - public void tryReconnectOnce(final Host host) { | |
| 1608 | + void startSingleReconnectionAttempt(final Host host) { | |
| 1609 | 1609 | if (isClosed() || host.isUp()) |
| 1610 | 1610 | return; |
| 1611 | 1611 |
modified driver-core/src/main/java/com/datastax/driver/core/Host.java +1 −1
| @@ -212,7 +212,7 @@ | ||
| 212 | 212 | * is already in progress. |
| 213 | 213 | */ |
| 214 | 214 | public void tryReconnectOnce() { |
| 215 | - this.manager.tryReconnectOnce(this); | |
| 215 | + this.manager.startSingleReconnectionAttempt(this); | |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | @Override |