public static class Operators.DeferredSubscription extends java.lang.Object implements org.reactivestreams.Subscription, Scannable
Scannable.Attr<T>
OPERATOR_NAME_UNRELATED_WORDS_PATTERN
构造器和说明 |
---|
DeferredSubscription() |
限定符和类型 | 方法和说明 |
---|---|
void |
cancel() |
void |
request(long n) |
java.lang.Object |
scanUnsafe(Scannable.Attr key)
This method is used internally by components to define their key-value mappings
in a single place.
|
boolean |
set(org.reactivestreams.Subscription s)
Atomically sets the single subscription and requests the missed amount from it.
|
actuals, from, inners, isScanAvailable, name, parents, scan, scanOrDefault, stepName, steps, tags, tagsDeduplicated
public void cancel()
cancel
在接口中 org.reactivestreams.Subscription
@Nullable public java.lang.Object scanUnsafe(Scannable.Attr key)
Scannable
Scannable.Attr
key,
implementors should take care to return values of the correct type, and return
null if no specific value is available.
For public consumption of attributes, prefer using Scannable.scan(Attr)
, which will
return a typed value and fall back to the key's default if the component didn't
define any mapping.
scanUnsafe
在接口中 Scannable
key
- a Scannable.Attr
to resolve for the component.public void request(long n)
request
在接口中 org.reactivestreams.Subscription
public final boolean set(org.reactivestreams.Subscription s)
s
- the subscription to set