| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Scheduler | |
| private static final Duration | |
| pack-priv static final Signal | |
| private static final Logger | |
| pack-priv volatile Signal | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Implements reactor. |
| public CoreSubscriber | subscribeOrReturn(CoreSubscriber<? super T> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|
| clock | back to summary |
|---|---|
| pack-priv final Scheduler clock | |
| DURATION_INFINITE | back to summary |
|---|---|
| private static final Duration DURATION_INFINITE | |
| EMPTY | back to summary |
|---|---|
| pack-priv static final Signal<?> EMPTY | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| state | back to summary |
|---|---|
| pack-priv volatile Signal<T> state | |
| STATE | back to summary |
|---|---|
| pack-priv static final AtomicReferenceFieldUpdater<MonoCacheTime<T>, Signal<T>> STATE | |
| ttlGenerator | back to summary |
|---|---|
| pack-priv final Function<? super Signal<T>, Duration> ttlGenerator | |
| MonoCacheTime | back to summary |
|---|---|
| pack-priv MonoCacheTime(Mono<? extends T> source, Duration ttl, Scheduler clock) | |
| MonoCacheTime | back to summary |
|---|---|
| pack-priv MonoCacheTime(Mono<? extends T> source) | |
| MonoCacheTime | back to summary |
|---|---|
| pack-priv MonoCacheTime(Mono<? extends T> source, Function<? super Signal<T>, Duration> ttlGenerator, Scheduler clock) | |
| MonoCacheTime | back to summary |
|---|---|
| pack-priv MonoCacheTime(Mono<? extends T> source, Function<? super T, Duration> valueTtlGenerator, Function<Throwable, Duration> errorTtlGenerator, Supplier<Duration> emptyTtlGenerator, Scheduler clock) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. Implements 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 | |
| subscribeOrReturn | back to summary |
|---|---|
| public CoreSubscriber Implements abstract reactor. Implements reactor. Doc from reactor. Allow delegation of the subscription by returning a
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv MonoCacheTime. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Overrides reactor. Implements org. Publisher to stop sending data and clean up resources.
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Overrides default reactor. Implements reactor. |
| coordinator | back to summary |
|---|---|
| pack-priv MonoCacheTime. | |
| CacheMonoSubscriber | back to summary |
|---|---|
| pack-priv CacheMonoSubscriber(CoreSubscriber<? super T> actual) | |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides reactor. Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. Overrides default reactor. Implements 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 | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Operators. | |
| pack-priv final MonoCacheTime | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv volatile Operators. | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv volatile Subscription | |
| private static final Operators. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final boolean | |
| public Context | currentContext()
Overrides default reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| public T | get()
Implements reactor. Signal interface is only
implemented for use in the main's STATE compareAndSet.
|
| public ContextView | getContextView()
Implements reactor. Signal interface is only
implemented for use in the main's STATE compareAndSet.
|
| public Subscription | getSubscription()
Implements reactor. Signal interface is only
implemented for use in the main's STATE compareAndSet.
|
| public Throwable | getThrowable()
Implements reactor. Signal interface is only
implemented for use in the main's STATE compareAndSet.
|
| public SignalType | getType()
Implements reactor. Signal interface is only
implemented for use in the main's STATE compareAndSet.
|
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(T
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| pack-priv final void | |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| private void |
| EMPTY | back to summary |
|---|---|
| private static final Operators. | |
| main | back to summary |
|---|---|
| pack-priv final MonoCacheTime<T> main | |
| S | back to summary |
|---|---|
| pack-priv static final AtomicReferenceFieldUpdater<MonoCacheTime. | |
| subscribers | back to summary |
|---|---|
| pack-priv volatile Operators. | |
| SUBSCRIBERS | back to summary |
|---|---|
| pack-priv static final AtomicReferenceFieldUpdater<MonoCacheTime. | |
| subscription | back to summary |
|---|---|
| pack-priv volatile Subscription subscription | |
| TERMINATED | back to summary |
|---|---|
| private static final Operators. | |
| CoordinatorSubscriber | back to summary |
|---|---|
pack-priv CoordinatorSubscriber(MonoCacheTime<T> main)
| |
| add | back to summary |
|---|---|
| pack-priv final boolean add(Operators. | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| get | back to summary |
|---|---|
| public T get() Implements reactor. unused in this context as the
| |
| getContextView | back to summary |
|---|---|
| public ContextView getContextView() Implements reactor. unused in this context as the
| |
| getSubscription | back to summary |
|---|---|
| public Subscription getSubscription() Implements reactor. unused in this context as the
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Implements reactor. unused in this context as the
| |
| getType | back to summary |
|---|---|
| public SignalType getType() Implements reactor. unused in this context as the
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements reactor. Doc from reactor. Implementors should initialize any state used by
Note that an invalid request
No data will start flowing until
It is the responsibility of this
The
| |
| remove | back to summary |
|---|---|
| pack-priv final void remove(Operators. | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Implements 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 | |
| signalCached | back to summary |
|---|---|
private void signalCached(Signal<T> signal)
| |