Interface NodeStateProvider
- 
- All Superinterfaces:
- AutoCloseable,- Closeable,- org.apache.solr.common.SolrCloseable
 - All Known Implementing Classes:
- SolrClientNodeStateProvider
 
 public interface NodeStateProvider extends org.apache.solr.common.SolrCloseableThis interface models the access to node and replica information.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>getNodeValues(String node, Collection<String> tags)Get the value of each tag for a given nodeMap<String,Map<String,List<org.apache.solr.common.cloud.Replica>>>getReplicaInfo(String node, Collection<String> keys)Get the details of each replica in a node.
 
- 
- 
- 
Method Detail- 
getNodeValuesMap<String,Object> getNodeValues(String node, Collection<String> tags) Get the value of each tag for a given node- Parameters:
- node- node name
- tags- tag names
- Returns:
- a map of tag vs value
 
 - 
getReplicaInfoMap<String,Map<String,List<org.apache.solr.common.cloud.Replica>>> getReplicaInfo(String node, Collection<String> keys) Get the details of each replica in a node. It attempts to fetch as much details about the replica as mentioned in the keys list. It is not necessary to give all detailsThe format is {collection:shard :[{replicadetails}]}. - Returns:
- map of replica infos per collection/shard
 
 
- 
 
-