Class Tracing.ContextTransformer<T>
java.lang.Object
com.google.adk.telemetry.Tracing.ContextTransformer<T>
- Type Parameters:
T- The type of the stream.
- All Implemented Interfaces:
io.reactivex.rxjava3.core.CompletableTransformer, io.reactivex.rxjava3.core.FlowableTransformer<T,T>, io.reactivex.rxjava3.core.MaybeTransformer<T, T>, io.reactivex.rxjava3.core.SingleTransformer<T, T>
- Enclosing class:
Tracing
public static final class Tracing.ContextTransformer<T>
extends Object
implements io.reactivex.rxjava3.core.FlowableTransformer<T,T>, io.reactivex.rxjava3.core.SingleTransformer<T,T>, io.reactivex.rxjava3.core.MaybeTransformer<T,T>, io.reactivex.rxjava3.core.CompletableTransformer
A transformer that re-activates a given context for the duration of the stream's subscription.
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.CompletableSourceapply(io.reactivex.rxjava3.core.Completable upstream) Applies context re-activation to aCompletablestream.org.reactivestreams.Publisher<T> Applies context re-activation to aFlowablestream.io.reactivex.rxjava3.core.MaybeSource<T> Applies context re-activation to aMaybestream.io.reactivex.rxjava3.core.SingleSource<T> Applies context re-activation to aSinglestream.
-
Method Details
-
apply
Applies context re-activation to aFlowablestream. -
apply
-
apply
Applies context re-activation to aMaybestream. -
apply
public io.reactivex.rxjava3.core.CompletableSource apply(io.reactivex.rxjava3.core.Completable upstream) Applies context re-activation to aCompletablestream.- Specified by:
applyin interfaceio.reactivex.rxjava3.core.CompletableTransformer- Parameters:
upstream- The upstream Completable.- Returns:
- A CompletableSource wrapped with context re-activation.
-