Package org.apache.solr.common.cloud
Class NodesSysPropsCacher
- java.lang.Object
-
- org.apache.solr.common.cloud.NodesSysPropsCacher
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.solr.common.cloud.NodesSysProps
public class NodesSysPropsCacher extends Object implements org.apache.solr.common.cloud.NodesSysProps, AutoCloseable
Fetch lazily and cache a node's system properties
-
-
Constructor Summary
Constructors Constructor Description NodesSysPropsCacher(org.apache.solr.client.solrj.SolrClient solrClient, ZkStateReader zkStateReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Map<String,Object>
getSysProps(String nodeName, Collection<String> tags)
-
-
-
Constructor Detail
-
NodesSysPropsCacher
public NodesSysPropsCacher(org.apache.solr.client.solrj.SolrClient solrClient, ZkStateReader zkStateReader)
-
-
Method Detail
-
getSysProps
public Map<String,Object> getSysProps(String nodeName, Collection<String> tags)
- Specified by:
getSysProps
in interfaceorg.apache.solr.common.cloud.NodesSysProps
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-