Package org.redisson.pubsub
Class CountDownLatchPubSub
- java.lang.Object
-
- org.redisson.pubsub.CountDownLatchPubSub
-
public class CountDownLatchPubSub extends Object
- Author:
- Nikita Koksharov
-
-
Field Summary
Fields Modifier and Type Field Description static LongNEW_COUNT_MESSAGEstatic LongZERO_COUNT_MESSAGE
-
Constructor Summary
Constructors Constructor Description CountDownLatchPubSub(PublishSubscribeService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RedissonCountDownLatchEntrycreateEntry(RPromise<RedissonCountDownLatchEntry> newPromise)protected voidonMessage(RedissonCountDownLatchEntry value, Long message)RFuture<E>subscribe(String entryName, String channelName)voidunsubscribe(E entry, String entryName, String channelName)
-
-
-
Constructor Detail
-
CountDownLatchPubSub
public CountDownLatchPubSub(PublishSubscribeService service)
-
-
Method Detail
-
createEntry
protected RedissonCountDownLatchEntry createEntry(RPromise<RedissonCountDownLatchEntry> newPromise)
-
onMessage
protected void onMessage(RedissonCountDownLatchEntry value, Long message)
-
-