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