public static class ExtendedDistributionSummary.Parameters extends Object
Constructor and Description |
---|
Parameters(TimeUnit timeUnit,
int bufferLength,
java.time.Duration rotateFrequency,
boolean activateExtraMetrics,
double... percentiles)
Constructor with all parameters
|
Modifier and Type | Method and Description |
---|---|
int |
getBufferLength() |
double[] |
getPercentiles() |
java.time.Duration |
getRotateFrequency() |
TimeUnit |
getTimeUnit() |
boolean |
isActivateExtraMetrics() |
public Parameters(TimeUnit timeUnit, int bufferLength, java.time.Duration rotateFrequency, boolean activateExtraMetrics, double... percentiles)
timeUnit
- Target time unit. Used for description.bufferLength
- Length of the time window ring buffer.rotateFrequency
- Rotation frequency of the time window ring buffer.activateExtraMetrics
- Activates or not extra metrics (see ExtendedDistributionSummary
.percentiles
- Desired percentiles for the histogram.public TimeUnit getTimeUnit()
public int getBufferLength()
public java.time.Duration getRotateFrequency()
public boolean isActivateExtraMetrics()
public double[] getPercentiles()