From 3add527cacf68a7bb8a891785bac6532144f4dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9=20=D0=91=D0=B5?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD=D0=BE=D0=B3=D0=BE=D0=B2?= Date: Mon, 2 Nov 2026 16:39:02 +0300 Subject: [PATCH] fix(pool): remove restart method Remove restart method from PoolEntryView --- .../main/java/io/tarantool/pool/PoolEntryView.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tarantool-pooling/src/main/java/io/tarantool/pool/PoolEntryView.java b/tarantool-pooling/src/main/java/io/tarantool/pool/PoolEntryView.java index daf4e174..126c0526 100644 --- a/tarantool-pooling/src/main/java/io/tarantool/pool/PoolEntryView.java +++ b/tarantool-pooling/src/main/java/io/tarantool/pool/PoolEntryView.java @@ -60,17 +60,6 @@ public interface PoolEntryView { */ void reconnect(); - /** - * Asynchronously restarts only the availability policy (strategy) execution for this connection. - * - * @implNote This method forces the library to recycle the lifecycle of the current policy for - * this specific entry (effectively invoking {@code stop} followed by {@code start} on the - * policy). In contrast to {@link #reconnect()}, this method does not drop, stop, or - * restart the underlying physical network connection. - * @implSpec This method is non-blocking and returns immediately. - */ - void restart(); - /** * Emits events occurring in the connection and {@link * io.tarantool.pool.availability.AvailabilityPolicy}.