public class CountDownLatchPubSub extends Object
Constructor and Description |
---|
CountDownLatchPubSub() |
Modifier and Type | Method and Description |
---|---|
protected RedissonCountDownLatchEntry |
createEntry(RPromise<RedissonCountDownLatchEntry> newPromise) |
E |
getEntry(String entryName) |
protected void |
onMessage(RedissonCountDownLatchEntry value,
Long message) |
RFuture<E> |
subscribe(String entryName,
String channelName,
ConnectionManager connectionManager) |
void |
unsubscribe(E entry,
String entryName,
String channelName,
ConnectionManager connectionManager) |
protected RedissonCountDownLatchEntry createEntry(RPromise<RedissonCountDownLatchEntry> newPromise)
protected void onMessage(RedissonCountDownLatchEntry 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.