码迷,mamicode.com
首页 > Web开发 > 详细

Redis(2.8.3) 命令学习 - Pub/Sub

时间:2015-09-26 14:39:50      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:

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

 

Redis(2.8.3) 命令学习 - Pub/Sub

标签:

原文地址:http://www.cnblogs.com/huey/p/4351321.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!