类 RetryLeapArray
java.lang.Object
com.aizuda.easy.retry.common.core.window.LeapArray<ConcurrentLinkedQueue<RetryTaskDTO>>
com.aizuda.easy.retry.client.common.window.RetryLeapArray
通过滑动窗口上报异常数据
-
字段概要
字段从类继承的字段 com.aizuda.easy.retry.common.core.window.LeapArray
array, intervalInMs, sampleCount, windowLengthInMs -
构造器概要
构造器构造器说明RetryLeapArray(int sampleCount, int intervalInMs) RetryLeapArray(int sampleCount, int intervalInMs, Listener<RetryTaskDTO> listener) RetryLeapArray(int sampleCount, int intervalInMs, List<Listener<RetryTaskDTO>> listenerList) -
方法概要
修饰符和类型方法说明newEmptyBucket(long timeMillis) protected WindowWrap<ConcurrentLinkedQueue<RetryTaskDTO>>resetWindowTo(WindowWrap<ConcurrentLinkedQueue<RetryTaskDTO>> windowWrap, long startTime) 从类继承的方法 com.aizuda.easy.retry.common.core.window.LeapArray
addWaiting, calculateTimeIdx, calculateWindowStart, currentWaiting, currentWindow, currentWindow, debug, getIntervalInMs, getIntervalInSecond, getPreviousWindow, getPreviousWindow, getSampleCount, getValidHead, getWindowValue, isWindowDeprecated, isWindowDeprecated, list, list, listAll, values, values
-
字段详细资料
-
listenerList
-
-
构造器详细资料
-
RetryLeapArray
public RetryLeapArray(int sampleCount, int intervalInMs) -
RetryLeapArray
-
RetryLeapArray
-
-
方法详细资料
-
newEmptyBucket
- 指定者:
newEmptyBucket在类中LeapArray<ConcurrentLinkedQueue<RetryTaskDTO>>
-
resetWindowTo
protected WindowWrap<ConcurrentLinkedQueue<RetryTaskDTO>> resetWindowTo(WindowWrap<ConcurrentLinkedQueue<RetryTaskDTO>> windowWrap, long startTime) - 指定者:
resetWindowTo在类中LeapArray<ConcurrentLinkedQueue<RetryTaskDTO>>
-