public class ReactorMetricsSubscriber<T>
extends java.util.concurrent.atomic.AtomicBoolean
implements org.reactivestreams.Subscription, reactor.core.CoreSubscriber<T>
Constructor and Description |
---|
ReactorMetricsSubscriber(java.lang.String name,
java.lang.Iterable<Tag> tags) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(T t) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
void |
request(long n) |
compareAndSet, get, getAndSet, lazySet, set, toString, weakCompareAndSet
public ReactorMetricsSubscriber(java.lang.String name, java.lang.Iterable<Tag> tags)
public void onError(java.lang.Throwable t)
onError
in interface org.reactivestreams.Subscriber<T>
public void onComplete()
onComplete
in interface org.reactivestreams.Subscriber<T>
public void request(long n)
request
in interface org.reactivestreams.Subscription
public void cancel()
cancel
in interface org.reactivestreams.Subscription