public class JedisSubscriber
extends redis.clients.jedis.JedisPubSub
Constructor and Description |
---|
JedisSubscriber() |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(String channel,
String message) |
void |
onSubscribe(String channel,
int subscribedChannels) |
void |
onUnsubscribe(String channel,
int subscribedChannels) |
public void onMessage(String channel, String message)
onMessage
in class redis.clients.jedis.JedisPubSub
public void onSubscribe(String channel, int subscribedChannels)
onSubscribe
in class redis.clients.jedis.JedisPubSub
public void onUnsubscribe(String channel, int subscribedChannels)
onUnsubscribe
in class redis.clients.jedis.JedisPubSub
Copyright © 2018. All rights reserved.