Class LockFreeExponentiallyDecayingReservoirWithExemplars.Builder

java.lang.Object
com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
Enclosing class:
LockFreeExponentiallyDecayingReservoirWithExemplars

public static final class LockFreeExponentiallyDecayingReservoirWithExemplars.Builder extends Object
By default this uses a size of 1028 elements, which offers a 99.9% confidence level with a 5% margin of error assuming a normal distribution, and an alpha factor of 0.015, which heavily biases the reservoir to the past 5 minutes of measurements.