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