public class SemaphorePubSub extends Object
Constructor and Description |
---|
SemaphorePubSub(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 SemaphorePubSub(PublishSubscribeService service)
protected RedissonLockEntry createEntry(RPromise<RedissonLockEntry> newPromise)
protected void onMessage(RedissonLockEntry value, Long message)
Copyright © 2014–2020 Redisson. All rights reserved.