Snapshot.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Snapshot.
Represents a cumulative histogram bucket at the moment it was sampled from the Snapshot. |
| public static class | Snapshot.
Represents a percentile and its value at the moment it was sampled from the Snapshot. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Snapshot. | Returns: an array ofHistogramBucket if it is available or an empty array if not availableReturns an array of |
| public abstract void | |
| public abstract double | |
| public abstract double | |
| public abstract Snapshot. | Returns: an array ofPercentileValue if it is available or an empty array if not availableReturns an array of |
| public abstract long |
| Snapshot | back to summary |
|---|---|
| public Snapshot() | |
| bucketValues | back to summary |
|---|---|
| public abstract Snapshot. Returns an array of
| |
| dump | back to summary |
|---|---|
| public abstract void dump(OutputStream output) Writes the values of the snapshot to the given stream.
| |
| getMax | back to summary |
|---|---|
| public abstract double getMax() Returns the highest value in the snapshot.
| |
| getMean | back to summary |
|---|---|
| public abstract double getMean() Returns the arithmetic mean of the values in the snapshot.
| |
| percentileValues | back to summary |
|---|---|
| public abstract Snapshot. Returns an array of
| |
| size | back to summary |
|---|---|
| public abstract long size() Returns the number of values in the snapshot.
| |
Timer will be represented in nanoseconds.
See bucketValues()
| Modifier and Type | Field and Description |
|---|---|
| private final double | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: the upper limit value of this bucketReturns the upper limit value of this bucket |
| public long | |
| public String |
| bucket | back to summary |
|---|---|
| private final double bucket | |
| count | back to summary |
|---|---|
| private final long count | |
| HistogramBucket | back to summary |
|---|---|
public HistogramBucket(double bucket, long count)
| |
| getBucket | back to summary |
|---|---|
| public double getBucket() Returns the upper limit value of this bucket
| |
| getCount | back to summary |
|---|---|
| public long getCount() Returns the count of the bucket
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
Timer are represented in units of nanoseconds.
See percentileValue()
| Modifier and Type | Field and Description |
|---|---|
| private final double | |
| private final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | |
| public double | |
| public String |
| percentile | back to summary |
|---|---|
| private final double percentile | |
| value | back to summary |
|---|---|
| private final double value | |
| PercentileValue | back to summary |
|---|---|
public PercentileValue(double percentile, double value)
| |
| getPercentile | back to summary |
|---|---|
| public double getPercentile() Returns the percentile
| |
| getValue | back to summary |
|---|---|
| public double getValue() Returns the value at percentile
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |