Class SuspendLog

java.lang.Object
org.qubership.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(org.springframework.context.ApplicationContext applicationContext, 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()
    • main

      public static void main(String[] args) throws IOException
      Throws:
      IOException