您的位置:首页 > 数据库 > Redis

Redis 命令 - Pub/Sub

2015-09-26 14:00 525 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: