public interface RLockAsync extends RExpirableAsync
Lock
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
forceUnlockAsync() |
RFuture<Void> |
lockAsync() |
RFuture<Void> |
lockAsync(long threadId) |
RFuture<Void> |
lockAsync(long leaseTime,
TimeUnit unit) |
RFuture<Void> |
lockAsync(long leaseTime,
TimeUnit unit,
long threadId) |
RFuture<Boolean> |
tryLockAsync() |
RFuture<Boolean> |
tryLockAsync(long threadId) |
RFuture<Boolean> |
tryLockAsync(long waitTime,
long leaseTime,
TimeUnit unit) |
RFuture<Boolean> |
tryLockAsync(long waitTime,
long leaseTime,
TimeUnit unit,
long threadId) |
RFuture<Boolean> |
tryLockAsync(long waitTime,
TimeUnit unit) |
RFuture<Void> |
unlockAsync() |
RFuture<Void> |
unlockAsync(long threadId) |
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsync
Copyright © 2014–2017 The Redisson Project. All rights reserved.