All Downloads are FREE. Search and download functionalities are using the official Maven repository.

brave.internal.recorder.PendingSpanRecord Maven / Gradle / Ivy

There is a newer version: 6.0.3
Show newest version
package brave.internal.recorder;

import brave.Clock;

public final class PendingSpanRecord {
  final SpanRecord span;
  final TickClock clock;

  PendingSpanRecord(SpanRecord span, TickClock clock) {
    this.span = span;
    this.clock = clock;
  }

  public SpanRecord span() {
    return span;
  }

  /** Returns a clock that ensures startTimestamp consistency across the trace */
  public Clock clock() {
    return clock;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy