Package hu.akarnokd.rxjava3.mprs
Enum RxJavaEngine
- java.lang.Object
-
- java.lang.Enum<RxJavaEngine>
-
- hu.akarnokd.rxjava3.mprs.RxJavaEngine
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RxJavaEngine>,org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
public enum RxJavaEngine extends java.lang.Enum<RxJavaEngine> implements org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
An RxJava-basedReactiveStreamsEnginethat translates the assembly instructions in aGraphinto RxJavaFlowable-based flows and components.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.concurrent.CompletionStage<T>buildCompletion(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)<T,R>
org.reactivestreams.Processor<T,R>buildProcessor(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)<T> org.reactivestreams.Publisher<T>buildPublisher(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)<T,R>
org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,R>buildSubscriber(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)static RxJavaEnginevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RxJavaEngine[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final RxJavaEngine INSTANCE
-
-
Method Detail
-
values
public static RxJavaEngine[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RxJavaEngine c : RxJavaEngine.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RxJavaEngine valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
buildPublisher
public <T> org.reactivestreams.Publisher<T> buildPublisher(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph) throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException- Specified by:
buildPublisherin interfaceorg.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine- Throws:
org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
-
buildSubscriber
public <T,R> org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,R> buildSubscriber(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph) throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException- Specified by:
buildSubscriberin interfaceorg.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine- Throws:
org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
-
buildProcessor
public <T,R> org.reactivestreams.Processor<T,R> buildProcessor(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph) throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException- Specified by:
buildProcessorin interfaceorg.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine- Throws:
org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
-
buildCompletion
public <T> java.util.concurrent.CompletionStage<T> buildCompletion(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph) throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException- Specified by:
buildCompletionin interfaceorg.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine- Throws:
org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
-
-