Package com.yahoo.metrics.simple
Class Bucket
java.lang.Object
com.yahoo.metrics.simple.Bucket
An aggregation of data which is only written to from a single thread.
- Author:
- Steinar Knutsen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentrySet()longThis bucket contains data newer than approximately this point in time.getMapForMetric(String metricName) longThis bucket contains data older than approximately this point in time.getValuesForMetric(String metricName) toString()
-
Constructor Details
-
Bucket
public Bucket() -
Bucket
public Bucket(long fromMillis, long toMillis)
-
-
Method Details
-
entrySet
-
getAllMetricNames
-
getValuesForMetric
-
getMapForMetric
-
getValuesByMetricName
-
toString
-
getFromMillis
public long getFromMillis()This bucket contains data newer than approximately this point in time. -
getToMillis
public long getToMillis()This bucket contains data older than approximately this point in time.
-