Package org.redisson
Class RedissonLockEntry
java.lang.Object
org.redisson.RedissonLockEntry
- All Implemented Interfaces:
PubSubEntry<RedissonLockEntry>
- Author:
- Nikita Koksharov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacquire()intacquired()voidaddListener(Runnable listener) getLatch()intrelease()booleanremoveListener(Runnable listener) toString()
-
Constructor Details
-
RedissonLockEntry
-
-
Method Details
-
acquired
public int acquired() -
acquire
public void acquire()- Specified by:
acquirein interfacePubSubEntry<RedissonLockEntry>
-
release
public int release()- Specified by:
releasein interfacePubSubEntry<RedissonLockEntry>
-
getPromise
- Specified by:
getPromisein interfacePubSubEntry<RedissonLockEntry>
-
addListener
-
removeListener
-
getListeners
-
getLatch
-
toString
-