Package | Description |
---|---|
com.lambdaworks.redis.cluster.models.partitions |
Model and parser for the
CLUSTER NODES and CLUSTER SLAVES output. |
com.lambdaworks.redis.models.role |
Model and parser for the
ROLE output. |
Modifier and Type | Method and Description |
---|---|
RedisInstance.Role |
RedisClusterNode.getRole()
Returns the
RedisInstance.Role of the Redis Cluster node based on the
flags . |
Modifier and Type | Field and Description |
---|---|
protected static Map<String,RedisInstance.Role> |
RoleParser.ROLE_MAPPING |
Modifier and Type | Method and Description |
---|---|
RedisInstance.Role |
RedisSlaveInstance.getRole() |
RedisInstance.Role |
RedisSentinelInstance.getRole() |
RedisInstance.Role |
RedisMasterInstance.getRole() |
RedisInstance.Role |
RedisInstance.getRole() |
static RedisInstance.Role |
RedisInstance.Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisInstance.Role[] |
RedisInstance.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018 lettuce.io. All rights reserved.