array, intervalInMs, sampleCount, windowLengthInMs| Constructor and Description |
|---|
ClusterParameterLeapArray(int sampleCount,
int intervalInMs,
int maxCapacity) |
| Modifier and Type | Method and Description |
|---|---|
CacheMap<Object,C> |
newEmptyBucket(long timeMillis) |
protected WindowWrap<CacheMap<Object,C>> |
resetWindowTo(WindowWrap<CacheMap<Object,C>> w,
long startTime) |
addWaiting, calculateWindowStart, currentWaiting, currentWindow, currentWindow, debug, getIntervalInMs, getIntervalInSecond, getPreviousWindow, getPreviousWindow, getSampleCount, getValidHead, getWindowValue, isWindowDeprecated, isWindowDeprecated, list, list, listAll, values, valuespublic ClusterParameterLeapArray(int sampleCount,
int intervalInMs,
int maxCapacity)
public CacheMap<Object,C> newEmptyBucket(long timeMillis)
newEmptyBucket in class LeapArray<CacheMap<Object,C>>protected WindowWrap<CacheMap<Object,C>> resetWindowTo(WindowWrap<CacheMap<Object,C>> w, long startTime)
resetWindowTo in class LeapArray<CacheMap<Object,C>>Copyright © 2021 Alibaba Group. All rights reserved.