Package org.redisson.api
Interface RLockReactive
-
- All Superinterfaces:
RExpirableReactive
,RObjectReactive
public interface RLockReactive extends RExpirableReactive
Reactive interface for Lock object- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<Boolean>
forceUnlock()
org.reactivestreams.Publisher<Void>
lock()
org.reactivestreams.Publisher<Void>
lock(long threadId)
org.reactivestreams.Publisher<Void>
lock(long leaseTime, TimeUnit unit)
org.reactivestreams.Publisher<Void>
lock(long leaseTime, TimeUnit unit, long threadId)
org.reactivestreams.Publisher<Boolean>
tryLock()
org.reactivestreams.Publisher<Boolean>
tryLock(long threadId)
org.reactivestreams.Publisher<Boolean>
tryLock(long waitTime, long leaseTime, TimeUnit unit)
org.reactivestreams.Publisher<Boolean>
tryLock(long waitTime, long leaseTime, TimeUnit unit, long threadId)
org.reactivestreams.Publisher<Boolean>
tryLock(long waitTime, TimeUnit unit)
org.reactivestreams.Publisher<Void>
unlock()
org.reactivestreams.Publisher<Void>
unlock(long threadId)
-
Methods inherited from interface org.redisson.api.RExpirableReactive
clearExpire, expire, expireAt, expireAt, remainTimeToLive
-
-
-
-
Method Detail
-
forceUnlock
org.reactivestreams.Publisher<Boolean> forceUnlock()
-
unlock
org.reactivestreams.Publisher<Void> unlock()
-
unlock
org.reactivestreams.Publisher<Void> unlock(long threadId)
-
tryLock
org.reactivestreams.Publisher<Boolean> tryLock()
-
lock
org.reactivestreams.Publisher<Void> lock()
-
lock
org.reactivestreams.Publisher<Void> lock(long threadId)
-
tryLock
org.reactivestreams.Publisher<Boolean> tryLock(long threadId)
-
tryLock
org.reactivestreams.Publisher<Boolean> tryLock(long waitTime, long leaseTime, TimeUnit unit)
-
-