Class ETLMetricsForLifetime

    • Constructor Detail

      • ETLMetricsForLifetime

        public ETLMetricsForLifetime​(int lifeTimeId)
    • Method Detail

      • getLifeTimeId

        public int getLifeTimeId()
      • getTotalETLRuns

        public long getTotalETLRuns()
      • getTimeForOverallETLInMilliSeconds

        public long getTimeForOverallETLInMilliSeconds()
      • getStartOfMetricsMeasurementInEpochSeconds

        public long getStartOfMetricsMeasurementInEpochSeconds()
      • getTimeinMillSecond4appendToETLAppendData

        public long getTimeinMillSecond4appendToETLAppendData()
      • getTimeinMillSecond4commitETLAppendData

        public long getTimeinMillSecond4commitETLAppendData()
      • getTimeinMillSecond4executePostETLTasks

        public long getTimeinMillSecond4executePostETLTasks()
      • getTimeinMillSecond4getETLStreams

        public long getTimeinMillSecond4getETLStreams()
      • getTimeinMillSecond4markForDeletion

        public long getTimeinMillSecond4markForDeletion()
      • getTimeinMillSecond4prepareForNewPartition

        public long getTimeinMillSecond4prepareForNewPartition()
      • getTimeinMillSecond4runPostProcessors

        public long getTimeinMillSecond4runPostProcessors()
      • getTimeinMillSecond4checkSizes

        public long getTimeinMillSecond4checkSizes()
      • getTotalSrcBytes

        public long getTotalSrcBytes()
      • updateApproximateGlobalLastETLTime

        public void updateApproximateGlobalLastETLTime​(long lastETLTimeWeSpentInETLInMilliSeconds)
        Update the time taken for the last ETL job. Note this is an approximation.
        Parameters:
        lastETLTimeWeSpentInETLInMilliSeconds -  
      • getApproximateLastGlobalETLTimeInMillis

        public long getApproximateLastGlobalETLTimeInMillis()
        Note this is an approximation and could be inaccurate.
        Returns:
        the approximateLastGlobalETLTime
      • getWeeklyETLUsageInPercent

        public double getWeeklyETLUsageInPercent()
        Get an estimate of how much time (in percent) over the last week we spent performing ETL for this transition.
        Returns:
        time estimated over the last week