Interface ILastCacheContainer
-
- All Known Implementing Classes:
LastCacheContainer,SchemaEntry
public interface ILastCacheContainerthis interface declares the operations of LastCache data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.iotdb.tsfile.read.TimeValuePairgetCachedLast()booleanisEmpty()voidresetLastCache()voidupdateCachedLast(org.apache.iotdb.tsfile.read.TimeValuePair timeValuePair, boolean highPriorityUpdate, java.lang.Long latestFlushedTime)update last point cache
-
-
-
Method Detail
-
getCachedLast
org.apache.iotdb.tsfile.read.TimeValuePair getCachedLast()
-
updateCachedLast
void updateCachedLast(org.apache.iotdb.tsfile.read.TimeValuePair timeValuePair, boolean highPriorityUpdate, java.lang.Long latestFlushedTime)update last point cache- Parameters:
timeValuePair- last pointhighPriorityUpdate- whether it's a high priority updatelatestFlushedTime- latest flushed time
-
resetLastCache
void resetLastCache()
-
isEmpty
boolean isEmpty()
-
-