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,
ConnectionManager connectionManager) |
void |
unsubscribe(E entry,
String entryName,
String channelName,
ConnectionManager connectionManager) |
protected RedissonLockEntry createEntry(RPromise<RedissonLockEntry> newPromise)
protected void onMessage(RedissonLockEntry value, Long message)
public void unsubscribe(E entry, String entryName, String channelName, ConnectionManager connectionManager)
public E getEntry(String entryName)
public RFuture<E> subscribe(String entryName, String channelName, ConnectionManager connectionManager)
Copyright © 2014–2017 The Redisson Project. All rights reserved.