public interface RLockReactive extends RExpirableReactive
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Boolean> |
forceUnlock() |
reactor.core.publisher.Mono<Void> |
lock() |
reactor.core.publisher.Mono<Void> |
lock(long threadId) |
reactor.core.publisher.Mono<Void> |
lock(long leaseTime,
TimeUnit unit) |
reactor.core.publisher.Mono<Void> |
lock(long leaseTime,
TimeUnit unit,
long threadId) |
reactor.core.publisher.Mono<Boolean> |
tryLock() |
reactor.core.publisher.Mono<Boolean> |
tryLock(long threadId) |
reactor.core.publisher.Mono<Boolean> |
tryLock(long waitTime,
long leaseTime,
TimeUnit unit) |
reactor.core.publisher.Mono<Boolean> |
tryLock(long waitTime,
long leaseTime,
TimeUnit unit,
long threadId) |
reactor.core.publisher.Mono<Boolean> |
tryLock(long waitTime,
TimeUnit unit) |
reactor.core.publisher.Mono<Void> |
unlock() |
reactor.core.publisher.Mono<Void> |
unlock(long threadId) |
clearExpire, expire, expireAt, expireAt, remainTimeToLive
reactor.core.publisher.Mono<Boolean> forceUnlock()
reactor.core.publisher.Mono<Void> unlock()
reactor.core.publisher.Mono<Void> unlock(long threadId)
reactor.core.publisher.Mono<Boolean> tryLock()
reactor.core.publisher.Mono<Void> lock()
reactor.core.publisher.Mono<Void> lock(long threadId)
reactor.core.publisher.Mono<Boolean> tryLock(long threadId)
Copyright © 2014–2018 The Redisson Project. All rights reserved.