public final class TracingPublisherUtils
extends java.lang.Object
Constructor and Description |
---|
TracingPublisherUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> TracingPublisher<T> |
createTracingPublisher(org.reactivestreams.Publisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Tracer.SpanBuilder spanBuilder,
boolean isSingle,
TracingObserver<T> tracingObserver)
Creates a new tracing publisher for the given arguments.
|
static <T> TracingPublisher<T> |
createTracingPublisher(org.reactivestreams.Publisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Tracer.SpanBuilder spanBuilder,
TracingObserver<T> tracingObserver)
Creates a new tracing publisher for the given arguments.
|
static <T> TracingPublisher<T> |
createTracingPublisher(org.reactivestreams.Publisher<T> publisher,
io.opentracing.Tracer tracer,
TracingObserver<T> tracingObserver)
Creates a new tracing publisher for the given arguments.
|
public static <T> TracingPublisher<T> createTracingPublisher(org.reactivestreams.Publisher<T> publisher, io.opentracing.Tracer tracer, @NonNull TracingObserver<T> tracingObserver)
T
- the publisher's typepublisher
- the target publishertracer
- the tracertracingObserver
- the tracing observerpublic static <T> TracingPublisher<T> createTracingPublisher(org.reactivestreams.Publisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Tracer.SpanBuilder spanBuilder, @NonNull TracingObserver<T> tracingObserver)
T
- the publisher's typepublisher
- the target publishertracer
- the tracerspanBuilder
- the span builder that represents the span that will
be created when the publisher is subscribed totracingObserver
- the tracing observerpublic static <T> TracingPublisher<T> createTracingPublisher(org.reactivestreams.Publisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Tracer.SpanBuilder spanBuilder, boolean isSingle, @NonNull TracingObserver<T> tracingObserver)
T
- the publisher's typepublisher
- the target publishertracer
- the tracerspanBuilder
- the span builder that represents the span that will
be created when the publisher is subscribed toisSingle
- true if the publisher emits a single itemtracingObserver
- the tracing observer