| Package | Description |
|---|---|
| com.alibaba.csp.sentinel.cluster.flow.statistic.data | |
| com.alibaba.csp.sentinel.cluster.flow.statistic.metric |
| Modifier and Type | Method and Description |
|---|---|
static ClusterFlowEvent |
ClusterFlowEvent.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterFlowEvent[] |
ClusterFlowEvent.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterMetricBucket |
ClusterMetricBucket.add(ClusterFlowEvent event,
long count) |
long |
ClusterMetricBucket.get(ClusterFlowEvent event) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterMetric.add(ClusterFlowEvent event,
long count) |
double |
ClusterMetric.getAvg(ClusterFlowEvent event)
Get average count for provided event per second.
|
long |
ClusterMetric.getCurrentCount(ClusterFlowEvent event) |
long |
ClusterMetricLeapArray.getFirstCountOfWindow(ClusterFlowEvent event) |
long |
ClusterMetricLeapArray.getOccupiedCount(ClusterFlowEvent event) |
long |
ClusterMetric.getSum(ClusterFlowEvent event)
Get total sum for provided event in
intervalInSec. |
int |
ClusterMetric.tryOccupyNext(ClusterFlowEvent event,
int acquireCount,
double threshold)
Try to pre-occupy upcoming buckets.
|
Copyright © 2020 Alibaba Group. All rights reserved.