Fixed - RMultimapCacheReactive.expireKey() returns Single instead of Reactor Mono. #6075

pull/6080/head
Nikita Koksharov 6 months ago
parent 0a8e5de4e7
commit 195b41cb54

@ -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<K, V> {
* @return A Single that will emit <code>true</code> if key exists and the timeout was set and <code>false</code>
* if key not exists
*/
Single<Boolean> expireKey(K key, long timeToLive, TimeUnit timeUnit);
Mono<Boolean> expireKey(K key, long timeToLive, TimeUnit timeUnit);
}

Loading…
Cancel
Save