T
- the type of element signaledpublic class TracingCorePublisher<T> extends TracingPublisher<T> implements reactor.core.CorePublisher<T>
TracingPublisher.TracingSubscriber
publisher
Constructor and Description |
---|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
java.lang.String operationName)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
java.lang.String operationName,
TracingObserver tracingObserver)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Tracer.SpanBuilder spanBuilder)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Tracer.SpanBuilder spanBuilder,
boolean isSingle)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Tracer.SpanBuilder spanBuilder,
boolean isSingle,
TracingObserver tracingObserver)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Tracer.SpanBuilder spanBuilder,
TracingObserver tracingObserver)
Creates a new tracing publisher for the given arguments.
|
TracingCorePublisher(reactor.core.CorePublisher<T> publisher,
io.opentracing.Tracer tracer,
TracingObserver tracingObserver)
Creates a new tracing publisher for the given arguments.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doSubscribe(org.reactivestreams.Subscriber<? super T> actual,
io.opentracing.ScopeManager scopeManager,
io.opentracing.Span span,
boolean finishOnClose)
Do subscribe to the publisher.
|
void |
subscribe(reactor.core.CoreSubscriber<? super T> subscriber) |
doOnError, doOnFinish, doOnNext, doOnSubscribe, isContinued, isFinishOnError, subscribe
public TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, java.lang.String operationName)
publisher
- the target publishertracer
- the traceroperationName
- the operation name that should be startedpublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, java.lang.String operationName, TracingObserver tracingObserver)
publisher
- the target publishertracer
- the traceroperationName
- the operation name that should be startedtracingObserver
- the tracing observerpublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer)
publisher
- the target publishertracer
- the tracerpublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, TracingObserver tracingObserver)
publisher
- the target publishertracer
- the tracertracingObserver
- the tracing observerpublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Tracer.SpanBuilder spanBuilder)
publisher
- the target publishertracer
- the tracerspanBuilder
- the span builder that represents the span that will bepublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Tracer.SpanBuilder spanBuilder, TracingObserver tracingObserver)
publisher
- the target publishertracer
- the tracerspanBuilder
- the span builder that represents the span that will betracingObserver
- the tracing observerpublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Tracer.SpanBuilder spanBuilder, boolean isSingle)
publisher
- 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 itempublic TracingCorePublisher(reactor.core.CorePublisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Tracer.SpanBuilder spanBuilder, boolean isSingle, TracingObserver tracingObserver)
publisher
- 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 observerpublic void subscribe(reactor.core.CoreSubscriber<? super T> subscriber)
subscribe
in interface reactor.core.CorePublisher<T>
protected void doSubscribe(org.reactivestreams.Subscriber<? super T> actual, io.opentracing.ScopeManager scopeManager, io.opentracing.Span span, boolean finishOnClose)
TracingPublisher
doSubscribe
in class TracingPublisher<T>
actual
- The actual subscriberscopeManager
- The scope managerspan
- The spanfinishOnClose
- Should finish on close?