public interface NodeStateProvider
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getNodeValues(String node,
Collection<String> tags)
Get the value of each tag for a given node
|
Map<String,Map<String,List<ReplicaInfo>>> |
getReplicaInfo(String node,
Collection<String> keys)
Get the details of each replica in a node.
|
Map<String,Object> getNodeValues(String node, Collection<String> tags)
node
- node nametags
- tag namesMap<String,Map<String,List<ReplicaInfo>>> getReplicaInfo(String node, Collection<String> keys)
The format is {collection:shard :[{replicadetails}]}.
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.