Class SuspendLog

java.lang.Object
com.netcracker.profiler.io.SuspendLog

public class SuspendLog extends Object
  • Field Details

  • Constructor Details

    • SuspendLog

      public SuspendLog(long[] dates, int[] delays)
    • SuspendLog

      public SuspendLog(long[] dates, int[] delays, int[] trueDelays)
    • SuspendLog

      public SuspendLog(long[] dates, int[] delays, int[] trueDelays, int size)
    • SuspendLog

      public SuspendLog(String podName)
  • Method Details

    • getSuspendDuration

      public int getSuspendDuration(long begin, long end)
      Returns the net suspension time in the given timerange [begin, end)
      Parameters:
      begin - the start of timerange for suspension calculation, inclusive
      end - the end of timerange for suspension calculation, exclusive
      Returns:
      the net suspension time
    • cursor

      public SuspendLog.SuspendLogCursor cursor()
    • setValue

      public void setValue(long[] dates, int[] delays, int[] trueDelays)
    • size

      public int size()