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 Map<String,CacheConfig> |
getMultipleConfigs(SolrConfig solrConfig,
String configPath) |
String |
getNodeName() |
CacheRegenerator |
getRegenerator() |
SolrCache |
newInstance() |
void |
setRegenerator(CacheRegenerator regenerator) |
Map<String,Object> |
toMap(Map<String,Object> map) |
public CacheRegenerator getRegenerator()
public void setRegenerator(CacheRegenerator regenerator)
public static Map<String,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(Map<String,Object> map)
toMap
in interface MapSerializable
public String getNodeName()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.