|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lambdaworks.redis.pubsub.RedisPubSubAdapter<K,V>
V - Value type.public class RedisPubSubAdapter<K,V>
Convenience adapter with an empty implementation of all
RedisPubSubListener callback methods.
| Constructor Summary | |
|---|---|
RedisPubSubAdapter()
|
|
| Method Summary | |
|---|---|
void |
message(K pattern,
K channel,
V message)
Message received from a pattern subscription. |
void |
message(K channel,
V message)
Message received from a channel subscription. |
void |
psubscribed(K pattern,
long count)
Subscribed to a pattern. |
void |
punsubscribed(K pattern,
long count)
Unsubscribed from a pattern. |
void |
subscribed(K channel,
long count)
Subscribed to a channel. |
void |
unsubscribed(K channel,
long count)
Unsubscribed from a channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RedisPubSubAdapter()
| Method Detail |
|---|
public void message(K channel,
V message)
RedisPubSubListener
message in interface RedisPubSubListener<K,V>channel - Channel.message - Message.
public void message(K pattern,
K channel,
V message)
RedisPubSubListener
message in interface RedisPubSubListener<K,V>pattern - Pattern.channel - Channel.message - Message.
public void subscribed(K channel,
long count)
RedisPubSubListener
subscribed in interface RedisPubSubListener<K,V>channel - Channelcount - Subscription count.
public void psubscribed(K pattern,
long count)
RedisPubSubListener
psubscribed in interface RedisPubSubListener<K,V>pattern - Pattern.count - Subscription count.
public void unsubscribed(K channel,
long count)
RedisPubSubListener
unsubscribed in interface RedisPubSubListener<K,V>channel - Channelcount - Subscription count.
public void punsubscribed(K pattern,
long count)
RedisPubSubListener
punsubscribed in interface RedisPubSubListener<K,V>pattern - Channelcount - Subscription count.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||