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 Long
READ_UNLOCK_MESSAGE
static Long
UNLOCK_MESSAGE
-
Constructor Summary
Constructors Constructor Description LockPubSub(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
-
LockPubSub
public LockPubSub(PublishSubscribeService service)
-
-
Method Detail
-
createEntry
protected RedissonLockEntry createEntry(RPromise<RedissonLockEntry> newPromise)
-
onMessage
protected void onMessage(RedissonLockEntry value, Long message)
-
-