Package org.redisson
Class RedissonCountDownLatchEntry
-
- org.redisson.RedissonCountDownLatchEntry
-
- All Implemented Interfaces:
PubSubEntry<RedissonCountDownLatchEntry>
public class RedissonCountDownLatchEntry extends 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
listener)
ReclosableLatch
getLatch()
<>
getListeners()
RPromise<RedissonCountDownLatchEntry>
getPromise()
int
release()
boolean
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( listener)
-
removeListener
public boolean removeListener( listener)
-
getListeners
public <> getListeners()
-
getLatch
public ReclosableLatch getLatch()
-
-