public class ClusterParamMetric extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CLUSTER_MAX_CAPACITY |
| Constructor and Description |
|---|
ClusterParamMetric(int sampleCount,
int intervalInMs) |
ClusterParamMetric(int sampleCount,
int intervalInMs,
int maxCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Object value,
int count) |
double |
getAvg(Object value) |
long |
getSum(Object value) |
Map<Object,Double> |
getTopValues(int number) |
public static final int DEFAULT_CLUSTER_MAX_CAPACITY
Copyright © 2020 Alibaba Group. All rights reserved.