org.apache.solr.search
Class CacheConfig
java.lang.Object
org.apache.solr.search.CacheConfig
public class CacheConfig
- extends Object
Contains the knowledge of how cache config is
stored in the solrconfig.xml file, and implements a
factory to create caches.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheConfig
public CacheConfig()
CacheConfig
public CacheConfig(Class<? extends SolrCache> clazz,
Map<String,String> args,
CacheRegenerator regenerator)
getRegenerator
public CacheRegenerator getRegenerator()
setRegenerator
public void setRegenerator(CacheRegenerator regenerator)
getMultipleConfigs
public static CacheConfig[] getMultipleConfigs(SolrConfig solrConfig,
String configPath)
getConfig
public static CacheConfig getConfig(SolrConfig solrConfig,
String xpath)
getConfig
public static CacheConfig getConfig(SolrConfig solrConfig,
Node node)
newInstance
public SolrCache newInstance()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.