Package org.apache.solr.client.solrj.io
Class ModelCache
- java.lang.Object
- 
- org.apache.solr.client.solrj.io.ModelCache
 
- 
 public class ModelCache extends Object The Model cache keeps a local in-memory copy of models
- 
- 
Constructor SummaryConstructors Constructor Description ModelCache(int size, String defaultZkHost, SolrClientCache solrClientCache)
 
- 
- 
- 
Constructor Detail- 
ModelCachepublic ModelCache(int size, String defaultZkHost, SolrClientCache solrClientCache)
 
- 
 - 
Method Detail- 
getModelpublic Tuple getModel(String collection, String modelID, long checkMillis) throws IOException - Throws:
- IOException
 
 - 
getModelpublic Tuple getModel(String zkHost, String collection, String modelID, long checkMillis) throws IOException - Throws:
- IOException
 
 
- 
 
-