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 Long
NEW_COUNT_MESSAGE
static Long
ZERO_COUNT_MESSAGE
-
Constructor Summary
Constructors Constructor Description CountDownLatchPubSub(PublishSubscribeService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RedissonCountDownLatchEntry
createEntry(RPromise<RedissonCountDownLatchEntry> newPromise)
protected void
onMessage(RedissonCountDownLatchEntry value, Long message)
RFuture<E>
subscribe(String entryName, String channelName)
void
unsubscribe(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)
-
-