Module org.elasticsearch.server
Class LongMetric.LongMetricValue
java.lang.Object
org.elasticsearch.action.admin.cluster.stats.LongMetric.LongMetricValue
- All Implemented Interfaces:
Writeable
- Enclosing class:
LongMetric
Snapshot of
LongMetric value that provides the current state of the metric.
Can be added with another LongMetric.LongMetricValue object.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongavg()longcount()booleanstatic LongMetric.LongMetricValueinthashCode()longmax()longp90()toString()voidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
LongMetricValue
public LongMetricValue(org.HdrHistogram.Histogram values) -
LongMetricValue
-
-
Method Details
-
add
-
fromStream
- Throws:
IOException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
count
public long count() -
max
public long max() -
avg
public long avg() -
p90
public long p90() -
equals
-
hashCode
public int hashCode() -
toString
-