public class RecorderSettings extends Object
| Constructor and Description |
|---|
RecorderSettings(int numberOfSignificantValueDigits,
Optional<Long> lowestDiscernibleValue,
Optional<double[]> predefinedPercentiles,
Optional<Long> highestTrackableValue,
Optional<OverflowResolver> overflowResolver,
Optional<Long> expectedIntervalBetweenValueSamples) |
| Modifier and Type | Method and Description |
|---|---|
org.HdrHistogram.Recorder |
buildRecorder() |
Optional<Long> |
getExpectedIntervalBetweenValueSamples() |
Optional<Long> |
getHighestTrackableValue() |
Optional<OverflowResolver> |
getOverflowResolver() |
Optional<double[]> |
getPredefinedPercentiles() |
void |
validateParameters() |
RecorderSettings |
withExpectedIntervalBetweenValueSamples(long expectedIntervalBetweenValueSamples) |
RecorderSettings |
withHighestTrackableValue(long highestTrackableValue,
OverflowResolver overflowResolver) |
RecorderSettings |
withLowestDiscernibleValue(long lowestDiscernibleValue) |
RecorderSettings |
withoutSnapshotOptimization() |
RecorderSettings |
withPredefinedPercentiles(double[] predefinedPercentiles) |
RecorderSettings |
withSignificantDigits(int numberOfSignificantValueDigits) |
public Optional<double[]> getPredefinedPercentiles()
public Optional<Long> getExpectedIntervalBetweenValueSamples()
public Optional<OverflowResolver> getOverflowResolver()
public void validateParameters()
public org.HdrHistogram.Recorder buildRecorder()
public RecorderSettings withLowestDiscernibleValue(long lowestDiscernibleValue)
public RecorderSettings withSignificantDigits(int numberOfSignificantValueDigits)
public RecorderSettings withHighestTrackableValue(long highestTrackableValue, OverflowResolver overflowResolver)
public RecorderSettings withExpectedIntervalBetweenValueSamples(long expectedIntervalBetweenValueSamples)
public RecorderSettings withPredefinedPercentiles(double[] predefinedPercentiles)
public RecorderSettings withoutSnapshotOptimization()
Copyright © 2020. All rights reserved.