public final class SolrMetricInfo extends Object
Modifier and Type | Field and Description |
---|---|
SolrInfoMBean.Category |
category |
String |
name |
String |
scope |
Constructor and Description |
---|
SolrMetricInfo(SolrInfoMBean.Category category,
String scope,
String name)
Creates a new instance of
SolrMetricInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getMetricName()
Returns the metric name defined by this object.
|
int |
hashCode() |
static SolrMetricInfo |
of(String fullName) |
String |
toString() |
public final String name
public final String scope
public final SolrInfoMBean.Category category
public SolrMetricInfo(SolrInfoMBean.Category category, String scope, String name)
SolrMetricInfo
.category
- the category of the metric (e.g. `QUERYHANDLERS`)scope
- the scope of the metric (e.g. `/admin/ping`)name
- the name of the metric (e.g. `Requests`)public static SolrMetricInfo of(String fullName)
public String getMetricName()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.