List of usage examples for org.apache.commons.math3.stat.descriptive SynchronizedDescriptiveStatistics SynchronizedDescriptiveStatistics
public SynchronizedDescriptiveStatistics(SynchronizedDescriptiveStatistics original) throws NullArgumentException
From source file:com.uber.stream.kafka.chaperone.client.TimeBucketMetadata.java
public TimeBucketMetadata(double start, double end) { timeBucketStartInSec = start;/* w w w . java 2s .c o m*/ timeBucketEndInSec = end; msgCount = new AtomicLong(); lastMessageTimestampSeenInSec = 0; latencyStats = new SynchronizedDescriptiveStatistics(1000 /* window */); }