类的使用
com.alibaba.csp.sentinel.slots.statistic.data.MetricBucket
使用MetricBucket的程序包
程序包
说明
-
com.alibaba.csp.sentinel.slots.statistic.data中MetricBucket的使用
修饰符和类型方法说明MetricBucket.add(MetricEvent event, long n) MetricBucket.reset()Reset the adders.MetricBucket.reset(MetricBucket bucket) -
com.alibaba.csp.sentinel.slots.statistic.metric中MetricBucket的使用
修饰符和类型方法说明BucketLeapArray.newEmptyBucket(long time) ArrayMetric.windows()Metric.windows()Get the raw window array.返回变量类型为MetricBucket的类型的com.alibaba.csp.sentinel.slots.statistic.metric中的方法修饰符和类型方法说明protected WindowWrap<MetricBucket>BucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w, long startTime) 修饰符和类型方法说明protected WindowWrap<MetricBucket>BucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w, long startTime) 类型变量类型为MetricBucket的com.alibaba.csp.sentinel.slots.statistic.metric中的构造器参数 -
com.alibaba.csp.sentinel.slots.statistic.metric.occupy中MetricBucket的使用
修饰符和类型方法说明FutureBucketLeapArray.newEmptyBucket(long time) OccupiableBucketLeapArray.newEmptyBucket(long time) 修饰符和类型方法说明protected WindowWrap<MetricBucket>FutureBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w, long startTime) protected WindowWrap<MetricBucket>OccupiableBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w, long time) 修饰符和类型方法说明booleanFutureBucketLeapArray.isWindowDeprecated(long time, WindowWrap<MetricBucket> windowWrap) protected WindowWrap<MetricBucket>FutureBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w, long startTime) protected WindowWrap<MetricBucket>OccupiableBucketLeapArray.resetWindowTo(WindowWrap<MetricBucket> w, long time)