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