Example usage for org.apache.commons.math3.stat.descriptive SynchronizedDescriptiveStatistics SynchronizedDescriptiveStatistics

List of usage examples for org.apache.commons.math3.stat.descriptive SynchronizedDescriptiveStatistics SynchronizedDescriptiveStatistics

Introduction

In this page you can find the example usage for org.apache.commons.math3.stat.descriptive SynchronizedDescriptiveStatistics SynchronizedDescriptiveStatistics.

Prototype

public SynchronizedDescriptiveStatistics(SynchronizedDescriptiveStatistics original)
        throws NullArgumentException 

Source Link

Document

A copy constructor.

Usage

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 */);
}