public class BucketMAvgRollerLong extends Object
| Constructor and Description |
|---|
BucketMAvgRollerLong(int granularity,
int span) |
| Modifier and Type | Method and Description |
|---|---|
static double |
mean(BucketMAvgRollerLong roller) |
static long |
result(BucketMAvgRollerLong roller) |
static void |
sample(BucketMAvgRollerLong roller,
long value) |
public BucketMAvgRollerLong(int granularity,
int span)
granularity - samples per bucket in internal implementationspan - total size of moving averagepublic static void sample(BucketMAvgRollerLong roller, long value)
public static double mean(BucketMAvgRollerLong roller)
public static long result(BucketMAvgRollerLong roller)
Copyright © 2018. All Rights Reserved.