public class RedissonCountDownLatchEntry extends Object implements PubSubEntry<RedissonCountDownLatchEntry>
Constructor and Description |
---|
RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise) |
Modifier and Type | Method and Description |
---|---|
void |
acquire() |
void |
addListener(Runnable listener) |
ReclosableLatch |
getLatch() |
ConcurrentLinkedQueue<Runnable> |
getListeners() |
RPromise<RedissonCountDownLatchEntry> |
getPromise() |
int |
release() |
boolean |
removeListener(Runnable listener) |
public RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise)
public void acquire()
acquire
in interface PubSubEntry<RedissonCountDownLatchEntry>
public int release()
release
in interface PubSubEntry<RedissonCountDownLatchEntry>
public RPromise<RedissonCountDownLatchEntry> getPromise()
getPromise
in interface PubSubEntry<RedissonCountDownLatchEntry>
public void addListener(Runnable listener)
public boolean removeListener(Runnable listener)
public ConcurrentLinkedQueue<Runnable> getListeners()
public ReclosableLatch getLatch()
Copyright © 2014–2019 Redisson. All rights reserved.