Class ETLPVLookupItems


  • public class ETLPVLookupItems
    extends Object
    A POJO for PV name, ETLSource, and ETLDest items, which can be used as elements in a list (e.g., implementations of the ETLPVLookup interface, such as PBThreeTierETLPVLookup).
    Author:
    rdh
    • Method Detail

      • getLifetimeorder

        public int getLifetimeorder()
      • getPvName

        public String getPvName()
      • setPvName

        public void setPvName​(String pvName)
      • getETLSource

        public ETLSource getETLSource()
      • setETLSource

        public void setETLSource​(ETLSource source)
      • getETLDest

        public ETLDest getETLDest()
      • setETLDest

        public void setETLDest​(ETLDest dest)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getTotalTimeWeSpentInETLInMilliSeconds

        public long getTotalTimeWeSpentInETLInMilliSeconds()
      • getNumberofTimesWeETLed

        public int getNumberofTimesWeETLed()
      • getLastETLCompleteEpochSeconds

        public long getLastETLCompleteEpochSeconds()
      • addETLDurationInMillis

        public void addETLDurationInMillis​(long pvETLStartEpochMilliSeconds,
                                           long pvETLEndEpochMilliSeconds)
      • setCancellingFuture

        public void setCancellingFuture​(ScheduledFuture<?> cancellingFuture)
      • addInfoAboutDetailedTime

        public void addInfoAboutDetailedTime​(long time4getETLStreams,
                                             long time4checkSizes,
                                             long time4prepareForNewPartition,
                                             long time4appendToETLAppendData,
                                             long time4commitETLAppendData,
                                             long time4markForDeletion,
                                             long time4runPostProcessors,
                                             long time4executePostETLTasks,
                                             long totalSrcBytes)
      • getTime4getETLStreams

        public long getTime4getETLStreams()
      • getTime4prepareForNewPartition

        public long getTime4prepareForNewPartition()
      • getTime4appendToETLAppendData

        public long getTime4appendToETLAppendData()
      • getTime4commitETLAppendData

        public long getTime4commitETLAppendData()
      • getTime4markForDeletion

        public long getTime4markForDeletion()
      • getTime4runPostProcessors

        public long getTime4runPostProcessors()
      • getTime4executePostETLTasks

        public long getTime4executePostETLTasks()
      • getOutOfSpaceChunksDeleted

        public long getOutOfSpaceChunksDeleted()
      • outOfSpaceChunkDeleted

        public void outOfSpaceChunkDeleted()
      • getTotalSrcBytes

        public long getTotalSrcBytes()
      • getLastETLTimeWeSpentInETLInMilliSeconds

        public long getLastETLTimeWeSpentInETLInMilliSeconds()
      • getTime4checkSizes

        public long getTime4checkSizes()
      • getMetricsForLifetime

        public ETLMetricsForLifetime getMetricsForLifetime()
        Returns:
        the metricsForLifetime