T - the value typepublic final class ScalarAsyncSubscription<T>
extends java.util.concurrent.atomic.AtomicInteger
implements org.reactivestreams.Subscription
| Constructor and Description |
|---|
ScalarAsyncSubscription(org.reactivestreams.Subscriber<? super T> subscriber) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
isComplete() |
void |
request(long n) |
void |
setValue(T v) |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSetpublic ScalarAsyncSubscription(org.reactivestreams.Subscriber<? super T> subscriber)
public void request(long n)
request in interface org.reactivestreams.Subscriptionpublic void setValue(T v)
public void cancel()
cancel in interface org.reactivestreams.Subscriptionpublic boolean isComplete()