java.lang.Object
io.jenkins.plugins.opentelemetry.opentelemetry.common.Clocks

public class Clocks extends Object
Utils for Clock
  • Method Details

    • monotonicOffsetClock

      public static io.opentelemetry.sdk.common.Clock monotonicOffsetClock(long offsetInNanos)
    • offsetClock

      public static io.opentelemetry.sdk.common.Clock offsetClock(long offsetInNanos, io.opentelemetry.sdk.common.Clock baseClock)
      Parameters:
      offsetInNanos - the duration to add, in nanos
    • monotonicClock

      public static io.opentelemetry.sdk.common.Clock monotonicClock(io.opentelemetry.sdk.common.Clock delegate)
    • monotonicClock

      public static io.opentelemetry.sdk.common.Clock monotonicClock()