Package org.redisson
Class RedissonLockEntry
java.lang.Object
org.redisson.RedissonLockEntry
- All Implemented Interfaces:
PubSubEntry<RedissonLockEntry>
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acquire()
int
acquired()
void
addListener
(Runnable listener) getLatch()
int
release()
boolean
removeListener
(Runnable listener) toString()
-
Constructor Details
-
RedissonLockEntry
-
-
Method Details
-
acquired
public int acquired() -
acquire
public void acquire()- Specified by:
acquire
in interfacePubSubEntry<RedissonLockEntry>
-
release
public int release()- Specified by:
release
in interfacePubSubEntry<RedissonLockEntry>
-
getPromise
- Specified by:
getPromise
in interfacePubSubEntry<RedissonLockEntry>
-
addListener
-
removeListener
-
getListeners
-
getLatch
-
toString
-