Class DataNodeLastCacheManager


  • public class DataNodeLastCacheManager
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.iotdb.tsfile.read.TimeValuePair getLastCache​(SchemaCacheEntry entry)
      get the last cache value from time series
      static void resetLastCache​(SchemaCacheEntry entry)
      reset the last cache value of time series
      static void updateLastCache​(SchemaCacheEntry entry, org.apache.iotdb.tsfile.read.TimeValuePair timeValuePair, boolean highPriorityUpdate, java.lang.Long latestFlushedTime)
      update the last cache value of time series
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataNodeLastCacheManager

        public DataNodeLastCacheManager()
    • Method Detail

      • getLastCache

        public static org.apache.iotdb.tsfile.read.TimeValuePair getLastCache​(SchemaCacheEntry entry)
        get the last cache value from time series
        Parameters:
        entry - schema cache entry in DataNodeSchemaCache
        Returns:
        the last cache value
      • updateLastCache

        public static void updateLastCache​(SchemaCacheEntry entry,
                                           org.apache.iotdb.tsfile.read.TimeValuePair timeValuePair,
                                           boolean highPriorityUpdate,
                                           java.lang.Long latestFlushedTime)
        update the last cache value of time series
        Parameters:
        entry - schema cache entry in DataNodeSchemaCache
        timeValuePair - the latest point value
        highPriorityUpdate - the last value from insertPlan is high priority
        latestFlushedTime - latest flushed time
      • resetLastCache

        public static void resetLastCache​(SchemaCacheEntry entry)
        reset the last cache value of time series
        Parameters:
        entry - schema cache entry in DataNodeSchemaCache