public class SemaphorePubSub extends Object
Constructor and Description |
---|
SemaphorePubSub() |
Modifier and Type | Method and Description |
---|---|
protected RedissonLockEntry |
createEntry(RPromise<RedissonLockEntry> newPromise) |
E |
getEntry(String entryName) |
protected void |
onMessage(RedissonLockEntry value,
Long message) |
RFuture<E> |
subscribe(String entryName,
String channelName,
PublishSubscribeService subscribeService) |
void |
unsubscribe(E entry,
String entryName,
String channelName,
PublishSubscribeService subscribeService) |
protected RedissonLockEntry createEntry(RPromise<RedissonLockEntry> newPromise)
protected void onMessage(RedissonLockEntry value, Long message)
public void unsubscribe(E entry, String entryName, String channelName, PublishSubscribeService subscribeService)
public E getEntry(String entryName)
public RFuture<E> subscribe(String entryName, String channelName, PublishSubscribeService subscribeService)
Copyright © 2014–2019 The Redisson Project. All rights reserved.