From 0de2169f4da14cab6bbd2d688e3db6b1f26afe13 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Tue, 22 Oct 2024 09:59:57 +0300 Subject: [PATCH] refactoring --- .../java/org/redisson/api/RJsonStoreReactive.java | 12 ++++++------ .../src/main/java/org/redisson/api/RJsonStoreRx.java | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/redisson/src/main/java/org/redisson/api/RJsonStoreReactive.java b/redisson/src/main/java/org/redisson/api/RJsonStoreReactive.java index e0d304a09..32959c168 100644 --- a/redisson/src/main/java/org/redisson/api/RJsonStoreReactive.java +++ b/redisson/src/main/java/org/redisson/api/RJsonStoreReactive.java @@ -781,7 +781,7 @@ public interface RJsonStoreReactive extends RExpirableReactive { * @param key - map key * @return countdownlatch */ - RCountDownLatch getCountDownLatch(K key); + RCountDownLatchReactive getCountDownLatch(K key); /** * Returns RPermitExpirableSemaphore instance associated with key @@ -789,7 +789,7 @@ public interface RJsonStoreReactive extends RExpirableReactive { * @param key - map key * @return permitExpirableSemaphore */ - RPermitExpirableSemaphore getPermitExpirableSemaphore(K key); + RPermitExpirableSemaphoreReactive getPermitExpirableSemaphore(K key); /** * Returns RSemaphore instance associated with key @@ -797,7 +797,7 @@ public interface RJsonStoreReactive extends RExpirableReactive { * @param key - map key * @return semaphore */ - RSemaphore getSemaphore(K key); + RSemaphoreReactive getSemaphore(K key); /** * Returns RLock instance associated with key @@ -805,7 +805,7 @@ public interface RJsonStoreReactive extends RExpirableReactive { * @param key - map key * @return fairlock */ - RLock getFairLock(K key); + RLockReactive getFairLock(K key); /** * Returns RReadWriteLock instance associated with key @@ -813,7 +813,7 @@ public interface RJsonStoreReactive extends RExpirableReactive { * @param key - map key * @return readWriteLock */ - RReadWriteLock getReadWriteLock(K key); + RReadWriteLockReactive getReadWriteLock(K key); /** * Returns RLock instance associated with key @@ -821,6 +821,6 @@ public interface RJsonStoreReactive extends RExpirableReactive { * @param key - map key * @return lock */ - RLock getLock(K key); + RLockReactive getLock(K key); } diff --git a/redisson/src/main/java/org/redisson/api/RJsonStoreRx.java b/redisson/src/main/java/org/redisson/api/RJsonStoreRx.java index d145f8afc..927308fbb 100644 --- a/redisson/src/main/java/org/redisson/api/RJsonStoreRx.java +++ b/redisson/src/main/java/org/redisson/api/RJsonStoreRx.java @@ -784,7 +784,7 @@ public interface RJsonStoreRx extends RExpirableRx { * @param key - map key * @return countdownlatch */ - RCountDownLatch getCountDownLatch(K key); + RCountDownLatchRx getCountDownLatch(K key); /** * Returns RPermitExpirableSemaphore instance associated with key @@ -792,7 +792,7 @@ public interface RJsonStoreRx extends RExpirableRx { * @param key - map key * @return permitExpirableSemaphore */ - RPermitExpirableSemaphore getPermitExpirableSemaphore(K key); + RPermitExpirableSemaphoreRx getPermitExpirableSemaphore(K key); /** * Returns RSemaphore instance associated with key @@ -800,7 +800,7 @@ public interface RJsonStoreRx extends RExpirableRx { * @param key - map key * @return semaphore */ - RSemaphore getSemaphore(K key); + RSemaphoreRx getSemaphore(K key); /** * Returns RLock instance associated with key @@ -808,7 +808,7 @@ public interface RJsonStoreRx extends RExpirableRx { * @param key - map key * @return fairlock */ - RLock getFairLock(K key); + RLockRx getFairLock(K key); /** * Returns RReadWriteLock instance associated with key @@ -816,7 +816,7 @@ public interface RJsonStoreRx extends RExpirableRx { * @param key - map key * @return readWriteLock */ - RReadWriteLock getReadWriteLock(K key); + RReadWriteLockRx getReadWriteLock(K key); /** * Returns RLock instance associated with key @@ -824,6 +824,6 @@ public interface RJsonStoreRx extends RExpirableRx { * @param key - map key * @return lock */ - RLock getLock(K key); + RLockRx getLock(K key); }