public class ClusterShardInfo
extends java.lang.Object
CLUSTER SHARDS
.
They can be accessed via getters. There is also getClusterShardInfo()
method that returns a generic Map
in case more info are returned from the server.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NODES |
static java.lang.String |
SLOTS |
Constructor and Description |
---|
ClusterShardInfo(java.util.Map<java.lang.String,java.lang.Object> map) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getClusterShardInfo() |
java.util.List<ClusterShardNodeInfo> |
getNodes() |
java.util.List<java.util.List<java.lang.Long>> |
getSlots() |
public static final java.lang.String SLOTS
public static final java.lang.String NODES
public ClusterShardInfo(java.util.Map<java.lang.String,java.lang.Object> map)
map
- contains key-value pairs with cluster shard infopublic java.util.List<java.util.List<java.lang.Long>> getSlots()
public java.util.List<ClusterShardNodeInfo> getNodes()
public java.util.Map<java.lang.String,java.lang.Object> getClusterShardInfo()
Copyright © 2023. All rights reserved.