public final class BooleanSubscription extends AtomicBoolean implements org.reactivestreams.Subscription
Constructor and Description |
---|
BooleanSubscription() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
boolean |
isCancelled()
Returns true if this BooleanSubscription has been cancelled.
|
void |
request(long n) |
String |
toString() |
compareAndSet, get, getAndSet, lazySet, set, weakCompareAndSet
public void request(long n)
request
in interface org.reactivestreams.Subscription
public void cancel()
cancel
in interface org.reactivestreams.Subscription
public boolean isCancelled()
public String toString()
toString
in class AtomicBoolean
Copyright © 2019. All rights reserved.