| Package | Description |
|---|---|
| com.alibaba.csp.sentinel.slots.statistic.data | |
| com.alibaba.csp.sentinel.slots.statistic.metric | |
| com.alibaba.csp.sentinel.slots.statistic.metric.occupy |
| Modifier and Type | Method and Description |
|---|---|
MetricBucket |
MetricBucket.add(MetricEvent event,
long n) |
MetricBucket |
MetricBucket.reset()
Reset the adders.
|
MetricBucket |
MetricBucket.reset(MetricBucket bucket) |
| Modifier and Type | Method and Description |
|---|---|
MetricBucket |
MetricBucket.reset(MetricBucket bucket) |
| Modifier and Type | Method and Description |
|---|---|
MetricBucket |
BucketLeapArray.newEmptyBucket(long time) |
MetricBucket[] |
Metric.windows()
Get the raw window array.
|
MetricBucket[] |
ArrayMetric.windows() |
| Modifier and Type | Method and Description |
|---|---|
protected WindowWrap<MetricBucket> |
BucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w,
long startTime) |
| Modifier and Type | Method and Description |
|---|---|
protected WindowWrap<MetricBucket> |
BucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w,
long startTime) |
| Constructor and Description |
|---|
ArrayMetric(LeapArray<MetricBucket> array)
For unit test.
|
| Modifier and Type | Method and Description |
|---|---|
MetricBucket |
OccupiableBucketLeapArray.newEmptyBucket(long time) |
MetricBucket |
FutureBucketLeapArray.newEmptyBucket(long time) |
| Modifier and Type | Method and Description |
|---|---|
protected WindowWrap<MetricBucket> |
OccupiableBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w,
long time) |
protected WindowWrap<MetricBucket> |
FutureBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w,
long startTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FutureBucketLeapArray.isWindowDeprecated(long time,
WindowWrap<MetricBucket> windowWrap) |
protected WindowWrap<MetricBucket> |
OccupiableBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w,
long time) |
protected WindowWrap<MetricBucket> |
FutureBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w,
long startTime) |
Copyright © 2019 Alibaba Group. All rights reserved.