Enum 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-based ReactiveStreamsEngine that translates the assembly instructions in a Graph into RxJava Flowable-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 RxJavaEngine valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

    • 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 name
        java.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:
        buildPublisher in interface org.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:
        buildSubscriber in interface org.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:
        buildProcessor in interface org.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:
        buildCompletion in interface org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
        Throws:
        org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException