public class CountDownLatchPubSub extends Object
Constructor and Description |
---|
CountDownLatchPubSub() |
Modifier and Type | Method and Description |
---|---|
protected RedissonCountDownLatchEntry |
createEntry(io.netty.util.concurrent.Promise<RedissonCountDownLatchEntry> newPromise) |
E |
getEntry(String entryName) |
protected void |
onMessage(RedissonCountDownLatchEntry value,
Long message) |
io.netty.util.concurrent.Future<E> |
subscribe(String entryName,
String channelName,
ConnectionManager connectionManager) |
void |
unsubscribe(E entry,
String entryName,
String channelName,
ConnectionManager connectionManager) |
protected RedissonCountDownLatchEntry createEntry(io.netty.util.concurrent.Promise<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 io.netty.util.concurrent.Future<E> subscribe(String entryName, String channelName, ConnectionManager connectionManager)
Copyright © 2014–2016. All rights reserved.