public class LastCacheContainer extends Object implements ILastCacheContainer
The ILastCacheValue may be extended to ILastCacheValue List in future to support batched last value cache.
| 构造器和说明 |
|---|
LastCacheContainer() |
| 限定符和类型 | 方法和说明 |
|---|---|
TimeValuePair |
getCachedLast() |
boolean |
isEmpty() |
void |
resetLastCache() |
void |
updateCachedLast(TimeValuePair timeValuePair,
boolean highPriorityUpdate,
Long latestFlushedTime)
update last point cache
|
public TimeValuePair getCachedLast()
getCachedLast 在接口中 ILastCacheContainerpublic void updateCachedLast(TimeValuePair timeValuePair, boolean highPriorityUpdate, Long latestFlushedTime)
ILastCacheContainerupdateCachedLast 在接口中 ILastCacheContainertimeValuePair - last pointhighPriorityUpdate - whether it's a high priority updatelatestFlushedTime - latest flushed timepublic void resetLastCache()
resetLastCache 在接口中 ILastCacheContainerpublic boolean isEmpty()
isEmpty 在接口中 ILastCacheContainerCopyright © 2022 The Apache Software Foundation. All rights reserved.