BUG-5280: handle NotLeaderException
[controller.git] / opendaylight / md-sal / cds-access-client / src / main / java / org / opendaylight / controller / cluster / access / client / ConnectedClientConnection.java
index 9198d8fe12c66980802917085bc4c548b8b5e484..cade27f77d6070c58df5cb80e0c9a920652cbf15 100644 (file)
@@ -18,7 +18,7 @@ public final class ConnectedClientConnection<T extends BackendInfo> extends Abst
     }
 
     @Override
-    ClientActorBehavior<T> reconnectConnection(final ClientActorBehavior<T> current) {
+    ClientActorBehavior<T> lockedReconnect(final ClientActorBehavior<T> current) {
         final ReconnectingClientConnection<T> next = new ReconnectingClientConnection<>(this);
         setForwarder(new SimpleReconnectForwarder(next));
         current.reconnectConnection(this, next);