public class RedissonCountDownLatchEntry extends Object implements PubSubEntry<RedissonCountDownLatchEntry>
Constructor and Description |
---|
RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise) |
Modifier and Type | Method and Description |
---|---|
void |
aquire() |
ReclosableLatch |
getLatch() |
RPromise<RedissonCountDownLatchEntry> |
getPromise() |
int |
release() |
public RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise)
public void aquire()
aquire
in interface PubSubEntry<RedissonCountDownLatchEntry>
public int release()
release
in interface PubSubEntry<RedissonCountDownLatchEntry>
public RPromise<RedissonCountDownLatchEntry> getPromise()
getPromise
in interface PubSubEntry<RedissonCountDownLatchEntry>
public ReclosableLatch getLatch()
Copyright © 2014–2017 The Redisson Project. All rights reserved.