Package org.redisson
Class RedissonCountDownLatchEntry
- java.lang.Object
-
- org.redisson.RedissonCountDownLatchEntry
-
- All Implemented Interfaces:
PubSubEntry<RedissonCountDownLatchEntry>
public class RedissonCountDownLatchEntry extends Object implements PubSubEntry<RedissonCountDownLatchEntry>
-
-
Constructor Summary
Constructors Constructor Description RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acquire()
void
addListener(Runnable listener)
ReclosableLatch
getLatch()
ConcurrentLinkedQueue<Runnable>
getListeners()
RPromise<RedissonCountDownLatchEntry>
getPromise()
int
release()
boolean
removeListener(Runnable listener)
-
-
-
Constructor Detail
-
RedissonCountDownLatchEntry
public RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise)
-
-
Method Detail
-
acquire
public void acquire()
- Specified by:
acquire
in interfacePubSubEntry<RedissonCountDownLatchEntry>
-
release
public int release()
- Specified by:
release
in interfacePubSubEntry<RedissonCountDownLatchEntry>
-
getPromise
public RPromise<RedissonCountDownLatchEntry> getPromise()
- Specified by:
getPromise
in interfacePubSubEntry<RedissonCountDownLatchEntry>
-
addListener
public void addListener(Runnable listener)
-
removeListener
public boolean removeListener(Runnable listener)
-
getListeners
public ConcurrentLinkedQueue<Runnable> getListeners()
-
getLatch
public ReclosableLatch getLatch()
-
-