com.endeca.itl.cas.api
Class Metric
java.lang.Object
com.endeca.itl.cas.api.Metric
- Direct Known Subclasses:
- MetricCrawlMode, MetricCrawlState, MetricCrawlStopCause, MetricDate, MetricLong, MetricString
public abstract class Metric
- extends Object
A Metric is a key-value pair that holds the value of a particular metric.
Keys are the metric's Id, and values are specified by the derived type (e.g.
MetricLong, MetricString).
Metric
public Metric()
Metric
public Metric(MetricId metricId)
getMetricId
public MetricId getMetricId()
setMetricId
public void setMetricId(MetricId value)
toValueString
protected abstract String toValueString()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.