Class IntegrationTestMTTR.TimingResult

java.lang.Object
org.apache.hadoop.hbase.mttr.IntegrationTestMTTR.TimingResult
Enclosing class:
IntegrationTestMTTR

private static class IntegrationTestMTTR.TimingResult extends Object
Class to store results of TimingCallable. Stores times and trace id.
  • Field Details

  • Constructor Details

  • Method Details

    • addResult

      public void addResult(long time, io.opentelemetry.api.trace.Span span)
      Add a result to this aggregate result.
      Parameters:
      time - Time in nanoseconds
      span - Span. To be kept if the time taken was over 1 second
    • toString

      public String toString()
      Overrides:
      toString in class Object