类 ClusterParameterLeapArray<C>

java.lang.Object
com.alibaba.csp.sentinel.slots.statistic.base.LeapArray<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>>
com.alibaba.csp.sentinel.cluster.flow.statistic.metric.ClusterParameterLeapArray<C>
类型参数:
C - counter type

public class ClusterParameterLeapArray<C> extends com.alibaba.csp.sentinel.slots.statistic.base.LeapArray<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>>
从以下版本开始:
1.4.0
作者:
Eric Zhao
  • 字段概要

    从类继承的字段 com.alibaba.csp.sentinel.slots.statistic.base.LeapArray

    array, intervalInMs, sampleCount, windowLengthInMs
  • 构造器概要

    构造器
    构造器
    说明
    ClusterParameterLeapArray(int sampleCount, int intervalInMs, int maxCapacity)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>
    newEmptyBucket(long timeMillis)
     
    protected com.alibaba.csp.sentinel.slots.statistic.base.WindowWrap<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>>
    resetWindowTo(com.alibaba.csp.sentinel.slots.statistic.base.WindowWrap<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>> w, long startTime)
     

    从类继承的方法 com.alibaba.csp.sentinel.slots.statistic.base.LeapArray

    addWaiting, calculateWindowStart, currentWaiting, currentWindow, currentWindow, debug, getIntervalInMs, getIntervalInSecond, getPreviousWindow, getPreviousWindow, getSampleCount, getValidHead, getWindowValue, isWindowDeprecated, isWindowDeprecated, list, list, listAll, values, values

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • ClusterParameterLeapArray

      public ClusterParameterLeapArray(int sampleCount, int intervalInMs, int maxCapacity)
  • 方法详细资料

    • newEmptyBucket

      public com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C> newEmptyBucket(long timeMillis)
      指定者:
      newEmptyBucket 在类中 com.alibaba.csp.sentinel.slots.statistic.base.LeapArray<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>>
    • resetWindowTo

      protected com.alibaba.csp.sentinel.slots.statistic.base.WindowWrap<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>> resetWindowTo(com.alibaba.csp.sentinel.slots.statistic.base.WindowWrap<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>> w, long startTime)
      指定者:
      resetWindowTo 在类中 com.alibaba.csp.sentinel.slots.statistic.base.LeapArray<com.alibaba.csp.sentinel.slots.statistic.cache.CacheMap<Object,C>>