Redis 命令 - Pub/Sub

PSUBSCRIBE pattern [pattern ...]

Listen for messages published to channels matching the given patterns

 

PUBSUB subcommand [argument [argument ...]]

Inspect the state of the Pub/Sub subsystem

 

PUBLISH channel message

Post a message to a channel

 

PUNSUBSCRIBE [pattern [pattern ...]]

Stop listening for messages posted to channels matching the given patterns

 

SUBSCRIBE channel [channel ...]

Listen for messages published to the given channels

 

UNSUBSCRIBE [channel [channel ...]]

Stop listening for messages posted to the given channels

 

posted on 2015-09-26 14:00  huey2672  阅读(196)  评论(0编辑  收藏  举报