2020-06-12 18:36:36 +02:00
|
|
|
package org.warp.commonutils.metrics;
|
|
|
|
|
2020-06-19 23:43:32 +02:00
|
|
|
import java.util.Set;
|
|
|
|
|
2020-06-12 18:36:36 +02:00
|
|
|
public interface AtomicDetailedTimeIncrementalSamplesSnapshot<T> extends AtomicTimeIncrementalSamplesSnapshot {
|
|
|
|
|
2020-06-19 23:43:32 +02:00
|
|
|
Set<T> getDetails();
|
|
|
|
|
2020-06-12 18:36:36 +02:00
|
|
|
double getAveragePerSecond(T detail, long timeRange);
|
|
|
|
|
|
|
|
long getApproximateCount(T detail, long timeRange);
|
|
|
|
|
|
|
|
long getTotalCount(T detail);
|
|
|
|
|
|
|
|
double getTotalAverage(T detail);
|
|
|
|
}
|