redis.clients.jedis
Class BinaryJedisPubSub
java.lang.Object
redis.clients.jedis.BinaryJedisPubSub
public abstract class BinaryJedisPubSub
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryJedisPubSub
public BinaryJedisPubSub()
onMessage
public abstract void onMessage(byte[] channel,
byte[] message)
onPMessage
public abstract void onPMessage(byte[] pattern,
byte[] channel,
byte[] message)
onSubscribe
public abstract void onSubscribe(byte[] channel,
int subscribedChannels)
onUnsubscribe
public abstract void onUnsubscribe(byte[] channel,
int subscribedChannels)
onPUnsubscribe
public abstract void onPUnsubscribe(byte[] pattern,
int subscribedChannels)
onPSubscribe
public abstract void onPSubscribe(byte[] pattern,
int subscribedChannels)
unsubscribe
public void unsubscribe()
unsubscribe
public void unsubscribe(byte[]... channels)
subscribe
public void subscribe(byte[]... channels)
psubscribe
public void psubscribe(byte[]... patterns)
punsubscribe
public void punsubscribe()
punsubscribe
public void punsubscribe(byte[]... patterns)
isSubscribed
public boolean isSubscribed()
proceedWithPatterns
public void proceedWithPatterns(Client client,
byte[]... patterns)
proceed
public void proceed(Client client,
byte[]... channels)
getSubscribedChannels
public int getSubscribedChannels()
Copyright © 2012. All Rights Reserved.