Package | Description |
---|---|
io.lettuce.core.cluster.models.partitions |
Model and parser for the
CLUSTER NODES and CLUSTER SLAVES output. |
io.lettuce.core.models.role |
Model and parser for the
ROLE output. |
Modifier and Type | Method and Description |
---|---|
RedisInstance.Role |
RedisClusterNode.getRole()
Returns the
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 © 2020 lettuce.io. All rights reserved.