public interface RReadWriteLock extends ReadWriteLock, RExpirable
ReadWriteLockmaintains a pair of associated
locks, one for read-only operations and one for writing. The
read lockmay be held simultaneously by multiple reader threads, so long as there are no writers. The
write lockis exclusive. Works in non-fair mode. Therefore order of read and write locking is unspecified.
|Modifier and Type||Method and Description|
Returns the lock used for reading.
Returns the lock used for writing.
clearExpire, expire, expireAt, expireAt, remainTimeToLive
delete, getCodec, getName, isExists, migrate, move, rename, renamenx
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
Copyright © 2014–2016 The Redisson Project. All rights reserved.