MCPcopy Index your code
hub / github.com/reactor/reactor-core / scan

Method scan

reactor-core/src/main/java/reactor/core/Scannable.java:558–558  ·  view source on GitHub ↗

Introspect a component's specific state Attr attribute, returning an associated value specific to that component, or the default value associated with the key, or null if the attribute doesn't make sense for that particular component and has no sensible default. @param key a Attr to

(Attr<T> key)

Source from the content-addressed store, hash-verified

556 *
557 */
558 default <T> @Nullable T scan(Attr<T> key) {
559 //note tryConvert will just plain cast most of the time
560 //except e.g. for Attr<Scannable>
561 T value = key.tryConvert(scanUnsafe(key));

Implementers 15

ScannableExecutorreactor-core/src/test/java/reactor/cor
MyWorkerreactor-core/src/test/java/reactor/cor
MySchedulerreactor-core/src/test/java/reactor/cor
FakeDisposablereactor-core/src/test/java/reactor/tes
TestScannableConnectableFluxreactor-core/src/test/java/reactor/tes
BoundedElasticThreadPerTaskSchedulerreactor-core/src/main/java21/reactor/c
SequentialThreadPerTaskExecutorreactor-core/src/main/java21/reactor/c
SingleThreadExecutorWorkerreactor-core/src/main/java21/reactor/c
ListCompositeDisposablereactor-core/src/main/java/reactor/cor
DelegateServiceSchedulerreactor-core/src/main/java/reactor/cor
SingleWorkerSchedulerreactor-core/src/main/java/reactor/cor
ParallelSchedulerreactor-core/src/main/java/reactor/cor

Calls

no outgoing calls