public final class SolrMetricInfo extends Object
Modifier and Type | Field and Description |
---|---|
SolrInfoBean.Category |
category |
String |
name |
String |
scope |
Constructor and Description |
---|
SolrMetricInfo(SolrInfoBean.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 SolrInfoBean.Category category
public SolrMetricInfo(SolrInfoBean.Category category, String scope, String name)
SolrMetricInfo
.category
- the category of the metric (e.g. `QUERY`)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.