Redis Role 命令
Redis 教程
· 2019-03-08 19:29:42
Redis Role 命令查看主从实例所属的角色,角色有master, slave, sentinel。
语法
redis Role 命令基本语法如下:
redis 127.0.0.1:6379> ROLE
可用版本
>= 2.8.12
返回值
返回一个数组:第一个参数是 master, slave, sentinel 三个中的一个。
实例
redis 127.0.0.1:6379> ROLE 1) "master" 2) (integer) 0 3) (empty list or set) redis>
点击查看所有 Redis 教程 文章: https://www.codercto.com/courses/l/33.html
Ant Colony Optimization
Marco Dorigo、Thomas Stützle / A Bradford Book / 2004-6-4 / USD 45.00
The complex social behaviors of ants have been much studied by science, and computer scientists are now finding that these behavior patterns can provide models for solving difficult combinatorial opti......一起来看看 《Ant Colony Optimization》 这本书的介绍吧!