BUG-5280: add SimpleDataStoreClientBehavior
[controller.git] / opendaylight / md-sal / cds-access-client / src / main / java / org / opendaylight / controller / cluster / access / client / AbstractClientConnection.java
index 170b1507a91254a6c7c13e2297158a6914e62b59..0e9382dbba8a644c9317c8518ae05ed8c179b02f 100644 (file)
@@ -157,11 +157,11 @@ public abstract class AbstractClientConnection<T extends BackendInfo> {
     }
 
     /**
-     * Check queue timeouts and return true if a timeout has occurred.
+     * Check this queue for timeout and initiate reconnection if that happened. If the queue has not made progress
+     * in {@link #NO_PROGRESS_TIMEOUT_NANOS} nanoseconds, it will be aborted.
      *
-     * @return True if a timeout occurred
-     * @throws NoProgressException if the queue failed to make progress for an extended
-     *                             time.
+     * @param current Current behavior
+     * @return Next behavior to use
      */
     @VisibleForTesting
     final ClientActorBehavior<T> runTimer(final ClientActorBehavior<T> current) {