public class LockPubSub extends Object
| Modifier and Type | Field and Description |
|---|---|
static Long |
READ_UNLOCK_MESSAGE |
static Long |
UNLOCK_MESSAGE |
| Constructor and Description |
|---|
LockPubSub(PublishSubscribeService service) |
| Modifier and Type | Method and 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) |
public static final Long UNLOCK_MESSAGE
public static final Long READ_UNLOCK_MESSAGE
public LockPubSub(PublishSubscribeService service)
protected RedissonLockEntry createEntry(RPromise<RedissonLockEntry> newPromise)
protected void onMessage(RedissonLockEntry value, Long message)
Copyright © 2014–2019 Redisson. All rights reserved.