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