public class Metrics extends SolrCacheBase implements SolrInfoMBean
SolrInfoMBean
that provides metrics on block cache operations.Modifier and Type | Class and Description |
---|---|
static class |
Metrics.MethodCall |
SolrCacheBase.AutoWarmCountRef
SolrInfoMBean.Category
autowarm, regenerator
Constructor and Description |
---|
Metrics() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Simple one or two line description
|
URL[] |
getDocs()
Documentation URL list.
|
String |
getName()
Simple common usage name, e.g.
|
String |
getSource()
CVS Source, SVN Source, etc
|
NamedList<Number> |
getStatistics()
Any statistics this instance would like to be publicly available via
the Solr Administration interface.
|
static void |
main(String[] args) |
calcHitRatio, getAutowarmDescription, getCategory, getState, getVersion, init, isAutowarmingOn, name, setState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getVersion
public AtomicLong blockCacheHit
public AtomicLong blockCacheMiss
public AtomicLong blockCacheEviction
public AtomicLong blockCacheSize
public AtomicLong rowReads
public AtomicLong rowWrites
public AtomicLong recordReads
public AtomicLong recordWrites
public AtomicLong queriesExternal
public AtomicLong queriesInternal
public AtomicLong shardBuffercacheAllocate
public AtomicLong shardBuffercacheLost
public Map<String,Metrics.MethodCall> methodCalls
public AtomicLong tableCount
public AtomicLong rowCount
public AtomicLong recordCount
public AtomicLong indexCount
public AtomicLong indexMemoryUsage
public AtomicLong segmentCount
public static void main(String[] args) throws InterruptedException
InterruptedException
public NamedList<Number> getStatistics()
SolrInfoMBean
Any Object type may be stored in the list, but only the
toString()
representation will be used.
getStatistics
in interface SolrInfoMBean
public String getName()
SolrInfoMBean
getName
in interface SolrInfoMBean
public String getDescription()
SolrInfoMBean
getDescription
in interface SolrInfoMBean
public String getSource()
SolrInfoMBean
getSource
in interface SolrInfoMBean
public URL[] getDocs()
SolrInfoMBean
Suggested documentation URLs: Homepage for sponsoring project, FAQ on class usage, Design doc for class, Wiki, bug reporting URL, etc...
getDocs
in interface SolrInfoMBean
getDocs
in class SolrCacheBase
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.