diff --git a/redisson/src/main/java/org/redisson/api/RMultimapCacheReactive.java b/redisson/src/main/java/org/redisson/api/RMultimapCacheReactive.java index 200b81326..535e67beb 100644 --- a/redisson/src/main/java/org/redisson/api/RMultimapCacheReactive.java +++ b/redisson/src/main/java/org/redisson/api/RMultimapCacheReactive.java @@ -15,7 +15,7 @@ */ package org.redisson.api; -import io.reactivex.rxjava3.core.Single; +import reactor.core.publisher.Mono; import java.util.concurrent.TimeUnit; @@ -38,5 +38,5 @@ public interface RMultimapCacheReactive { * @return A Single that will emit true if key exists and the timeout was set and false * if key not exists */ - Single expireKey(K key, long timeToLive, TimeUnit timeUnit); + Mono expireKey(K key, long timeToLive, TimeUnit timeUnit); }