public final class SubscriptionArbiter
extends java.util.concurrent.atomic.AtomicInteger
implements org.reactivestreams.Subscription
| Constructor and Description |
|---|
SubscriptionArbiter() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
isCancelled() |
void |
produced(long n) |
void |
request(long n) |
void |
setSubscription(org.reactivestreams.Subscription s) |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSetpublic void request(long n)
request in interface org.reactivestreams.Subscriptionpublic void produced(long n)
public void setSubscription(org.reactivestreams.Subscription s)
public void cancel()
cancel in interface org.reactivestreams.Subscriptionpublic boolean isCancelled()