public class CacheConfig extends Object implements MapSerializable
Constructor and Description |
---|
CacheConfig() |
CacheConfig(Class<? extends SolrCache> clazz,
Map<String,String> args,
CacheRegenerator regenerator) |
Modifier and Type | Method and Description |
---|---|
static CacheConfig |
getConfig(SolrConfig solrConfig,
String xpath) |
static CacheConfig |
getConfig(SolrConfig solrConfig,
String nodeName,
Map<String,String> attrs,
String xpath) |
static CacheConfig[] |
getMultipleConfigs(SolrConfig solrConfig,
String configPath) |
String |
getNodeName() |
CacheRegenerator |
getRegenerator() |
SolrCache |
newInstance() |
void |
setRegenerator(CacheRegenerator regenerator) |
Map<String,Object> |
toMap() |
public CacheRegenerator getRegenerator()
public void setRegenerator(CacheRegenerator regenerator)
public static CacheConfig[] getMultipleConfigs(SolrConfig solrConfig, String configPath)
public static CacheConfig getConfig(SolrConfig solrConfig, String xpath)
public static CacheConfig getConfig(SolrConfig solrConfig, String nodeName, Map<String,String> attrs, String xpath)
public SolrCache newInstance()
public Map<String,Object> toMap()
toMap
in interface MapSerializable
public String getNodeName()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.