java.lang.Object
io.opentelemetry.instrumentation.netty.common.internal.Timer
All Implemented Interfaces:
io.opentelemetry.context.ImplicitContextKeyed

public final class Timer extends Object implements io.opentelemetry.context.ImplicitContextKeyed
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • start

      public static Timer start()
    • startTime

      public Instant startTime()
    • now

      public Instant now()
    • storeInContext

      public io.opentelemetry.context.Context storeInContext(io.opentelemetry.context.Context context)
      Specified by:
      storeInContext in interface io.opentelemetry.context.ImplicitContextKeyed
    • get

      public static Timer get(io.opentelemetry.context.Context context)