| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Consumer | |
| pack-priv static final Disposable | |
| pack-priv static final Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides default reactor. |
| public void | subscribe(CoreSubscriber<? super T>
the actual)Subscriber interested into the published sequenceImplements abstract reactor. Implements reactor. Publisher#subscribe(Subscriber) that will bypass
Hooks#onLastOperator(Function) pointcut.
|
| callback | back to summary |
|---|---|
| pack-priv final Consumer<MonoSink<T>> callback | |
| CANCELLED | back to summary |
|---|---|
| pack-priv static final Disposable CANCELLED | |
| TERMINATED | back to summary |
|---|---|
| pack-priv static final Disposable TERMINATED | |
| MonoCreate | back to summary |
|---|---|
| pack-priv MonoCreate(Consumer<MonoSink<T>> callback) | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides default reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| subscribe | back to summary |
|---|---|
| public void subscribe(CoreSubscriber<? super T> actual) Implements abstract reactor. Implements reactor. Doc from reactor. An internal
In addition to behave as expected by
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CoreSubscriber | |
| pack-priv volatile Disposable | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv volatile LongConsumer | |
| pack-priv volatile int | |
| pack-priv static final AtomicIntegerFieldUpdater | |
| pack-priv T |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CoreSubscriber | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| public ContextView | contextView()
Overrides default reactor. ContextView for inspection.
|
| public Context | currentContext()
Implements reactor.
Deprecated
Return the current subscriber Context.
|
| pack-priv void | |
| public void | error(Throwable
the exception to complete with e)Implements reactor. Calling this method multiple times or after the other terminating methods is an unsupported operation. |
| pack-priv boolean | |
| public MonoSink | onCancel(Disposable
the d)Disposable to use as a callbackImplements reactor. Disposable as a callback for when this MonoSink is
cancelled.
|
| public MonoSink | onDispose(Disposable
the d)Disposable to use as a callbackImplements reactor. Disposable as a callback for when this MonoSink is effectively
disposed, that is it cannot be used anymore.
|
| public MonoSink | onRequest(LongConsumer
the consumer to invoke on request consumer)Implements reactor. LongConsumer to this MonoSink that will be notified of
any request to this sink.
|
| public void | request(long
the strictly positive number of elements to requests to the upstream n)PublisherImplements org. Publisher until demand is signaled via this method.
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides default reactor. |
| public void | |
| public void | success(T
the value to complete with value)Implements reactor. Mono with the given value.
|
| public String | toString()
Overrides java. |
| actual | back to summary |
|---|---|
| pack-priv final CoreSubscriber<? super T> actual | |
| disposable | back to summary |
|---|---|
| pack-priv volatile Disposable disposable | |
| DISPOSABLE | back to summary |
|---|---|
pack-priv static final AtomicReferenceFieldUpdater<MonoCreate.
| |
| HAS_REQUEST_HAS_VALUE | back to summary |
|---|---|
| pack-priv static final int HAS_REQUEST_HAS_VALUE | |
| HAS_REQUEST_NO_VALUE | back to summary |
|---|---|
| pack-priv static final int HAS_REQUEST_NO_VALUE | |
| NO_REQUEST_HAS_VALUE | back to summary |
|---|---|
| pack-priv static final int NO_REQUEST_HAS_VALUE | |
| REQUEST_CONSUMER | back to summary |
|---|---|
pack-priv static final AtomicReferenceFieldUpdater<MonoCreate.
| |
| requestConsumer | back to summary |
|---|---|
| pack-priv volatile LongConsumer requestConsumer | |
| state | back to summary |
|---|---|
| pack-priv volatile int state | |
| STATE | back to summary |
|---|---|
pack-priv static final AtomicIntegerFieldUpdater<MonoCreate.
| |
| value | back to summary |
|---|---|
| pack-priv T value | |
| DefaultMonoSink | back to summary |
|---|---|
| pack-priv DefaultMonoSink(CoreSubscriber<? super T> actual) | |
| actual | back to summary |
|---|---|
| public CoreSubscriber Implements reactor.
| |
| cancel | back to summary |
|---|---|
| public void cancel() Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| contextView | back to summary |
|---|---|
| public ContextView contextView() Overrides default reactor. Doc from reactor. Return the current subscriber's context as a
| |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Implements reactor. Doc from reactor. Deprecated
Return the current subscriber
| |
| disposeResource | back to summary |
|---|---|
| pack-priv void disposeResource(boolean isCancel) | |
| error | back to summary |
|---|---|
| public void error(Throwable e) Implements reactor. Doc from reactor. Terminate with the given exception Calling this method multiple times or after the other terminating methods is
an unsupported operation. It will discard the exception through the
| |
| isDisposed | back to summary |
|---|---|
| pack-priv boolean isDisposed() | |
| onCancel | back to summary |
|---|---|
| public MonoSink Implements reactor. Doc from reactor. Attach a
The callback is only relevant when the downstream
| |
| onDispose | back to summary |
|---|---|
| public MonoSink Implements reactor. Doc from reactor. Attach a
Note that the "dispose" term is used from the perspective of the sink. Not to
be confused with
| |
| onRequest | back to summary |
|---|---|
| public MonoSink Implements reactor. Doc from reactor. Attaches a
| |
| request | back to summary |
|---|---|
| public void request(long n) Implements org. Doc from org. No events will be sent by a
It can be called however often and whenever needed—but if the outstanding cumulative demand ever becomes Long.MAX_VALUE or more,
it may be treated by the
Whatever has been requested can be sent by the
A | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides default reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| success | back to summary |
|---|---|
| public void success() Implements reactor. Doc from reactor. Complete without any value. Calling this method multiple times or after the other terminating methods has no effect.
| |
| success | back to summary |
|---|---|
| public void success(T value) Implements reactor. Doc from reactor. Complete this Calling this method multiple times or after the other
terminating methods has no effect (the value is
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the String representation of the current value. | |