public interface RLockReactive extends RExpirableReactive
Modifier and Type | Method and 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) |
clearExpire, expire, expireAt, expireAt, remainTimeToLive
org.reactivestreams.Publisher<Boolean> forceUnlock()
org.reactivestreams.Publisher<Void> unlock()
org.reactivestreams.Publisher<Void> unlock(long threadId)
org.reactivestreams.Publisher<Boolean> tryLock()
org.reactivestreams.Publisher<Void> lock()
org.reactivestreams.Publisher<Void> lock(long threadId)
org.reactivestreams.Publisher<Boolean> tryLock(long threadId)
org.reactivestreams.Publisher<Boolean> tryLock(long waitTime, long leaseTime, TimeUnit unit)
Copyright © 2014–2018 The Redisson Project. All rights reserved.