Class AbstractHistoryNode

    • Constructor Detail

      • AbstractHistoryNode

        public AbstractHistoryNode​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface HistoryNode
      • isErrored

        public boolean isErrored()
      • setErrored

        public void setErrored​(QualityCode code)
      • maxAvailableTime

        public long maxAvailableTime()
        Description copied from interface: HistoryNode
        Returns the MAX time that this column has values for. NOTE: the max time can be well in the future (compared to the last value time). In fact, columns that don't interpolate data could return long.maxvalue. This time simply means "if you call getValue with a time less than this time, I can give you a value".
        Specified by:
        maxAvailableTime in interface HistoryNode
      • setNextAvailableTime

        protected void setNextAvailableTime​(long time)
      • markCompleted

        public void markCompleted​(long time)
        Description copied from interface: HistoryNode
        Tells the node that the data up to and including the specified time is no longer needed. The node should potentially update its maxAvailableTime and sort itself in the list.
        Specified by:
        markCompleted in interface HistoryNode
      • sortNode

        protected static void sortNode​(HistoryNode node)