public abstract class SolrCacheBase extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SolrCacheBase.AutoWarmCountRefDecides how many things to autowarm based on the size of another cache | 
| Modifier and Type | Field and Description | 
|---|---|
| protected SolrCacheBase.AutoWarmCountRef | autowarm | 
| protected CacheRegenerator | regenerator | 
| Constructor and Description | 
|---|
| SolrCacheBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static float | calcHitRatio(long lookups,
            long hits)Returns a "Hit Ratio" (ie: max of 1.00, not a percentage) suitable for 
 display purposes. | 
| protected String | getAutowarmDescription() | 
| SolrInfoBean.Category | getCategory() | 
| SolrCache.State | getState() | 
| String | getVersion() | 
| void | init(Map<String,String> args,
    CacheRegenerator regenerator) | 
| protected boolean | isAutowarmingOn() | 
| String | name() | 
| void | setState(SolrCache.State state) | 
protected CacheRegenerator regenerator
protected SolrCacheBase.AutoWarmCountRef autowarm
protected static float calcHitRatio(long lookups,
                                    long hits)
public String getVersion()
public SolrInfoBean.Category getCategory()
public void init(Map<String,String> args, CacheRegenerator regenerator)
protected String getAutowarmDescription()
protected boolean isAutowarmingOn()
public void setState(SolrCache.State state)
public SolrCache.State getState()
public String name()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.