Package

reactor.core.scala

publisher

Permalink

package publisher

Created by winarto on 12/31/16.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. publisher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ConnectableFlux[T] extends Flux[T] with Receiver

    Permalink
  2. class Flux[T] extends Publisher[T] with MapablePublisher[T]

    Permalink

    A Reactive Streams Publisher with rx operators that emits 0 to N elements, and then completes (successfully or with an error).

    A Reactive Streams Publisher with rx operators that emits 0 to N elements, and then completes (successfully or with an error).

    It is intended to be used in implementations and return types. Input parameters should keep using raw Publisher as much as possible.

    If it is known that the underlying Publisher will emit 0 or 1 element, Mono should be used instead.

    Note that using state in the lambdas used within Flux operators should be avoided, as these may be shared between several Subscribers.

    T

    the element type of this Reactive Streams Publisher

    See also

    Mono

  3. trait FluxProcessor[IN, OUT] extends Flux[OUT] with Processor[IN, OUT] with Disposable with Scannable

    Permalink

    A base processor that exposes Flux API for org.reactivestreams.Processor.

    A base processor that exposes Flux API for org.reactivestreams.Processor.

    Implementors include reactor.core.publisher.UnicastProcessor, reactor.core.publisher.EmitterProcessor, reactor.core.publisher.ReplayProcessor, reactor.core.publisher.WorkQueueProcessor and reactor.core.publisher.TopicProcessor.

    IN

    the input value type

    OUT

    the output value type

  4. class GroupedFlux[K, V] extends Flux[V]

    Permalink

    Represents a sequence of events with an associated key.

    Represents a sequence of events with an associated key.

    K

    the key type

    V

    the value type

  5. type JBiConsumer[T, U] = BiConsumer[T, U]

    Permalink
  6. trait MapablePublisher[T] extends Publisher[T]

    Permalink
  7. class Mono[T] extends Publisher[T] with MapablePublisher[T]

    Permalink

    A Reactive Streams Publisher with basic rx operators that completes successfully by emitting an element, or with an error.

    A Reactive Streams Publisher with basic rx operators that completes successfully by emitting an element, or with an error.

    The rx operators will offer aliases for input Mono type to preserve the "at most one" property of the resulting Mono. For instance flatMap returns a Flux with possibly more than 1 emission. Its alternative enforcing Mono input is then.

    Mono[Unit] should be used for Publisher that just completes without any value.

    It is intended to be used in implementations and return types, input parameters should keep using raw Publisher as much as possible.

    Note that using state in the scala.Function / lambdas used within Mono operators should be avoided, as these may be shared between several Subscribers.

    T

    the type of the single value of this class

    See also

    Flux

  8. class ParallelFlux[T] extends AnyRef

    Permalink
  9. type SBiConsumer[T, U] = (T, U) ⇒ Unit

    Permalink
  10. type SConsumer[T] = (T) ⇒ Unit

    Permalink
  11. type SPredicate[T] = (T) ⇒ Boolean

    Permalink
  12. class UnicastProcessor[T] extends Flux[T] with FluxProcessor[T, T]

    Permalink

    A Processor implementation that takes a custom queue and allows only a single subscriber.

    A Processor implementation that takes a custom queue and allows only a single subscriber.

    The implementation keeps the order of signals.

    T

    the input and output type

Value Members

  1. object ConnectableFlux

    Permalink
  2. object Flux

    Permalink
  3. object FluxProcessor

    Permalink
  4. object GroupedFlux

    Permalink
  5. object Mono

    Permalink
  6. object ParallelFlux

    Permalink
  7. object PimpMyPublisher

    Permalink

    Created by winarto on 1/17/17.

  8. object UnicastProcessor

    Permalink
  9. implicit def fluxTToU2JFluxTToU[T, U](fluxTToU: (Flux[T]) ⇒ U): Function[publisher.Flux[T], U]

    Permalink
  10. implicit def mappableJLong2MappableLong(mappableJLong: MapablePublisher[Long]): MapablePublisher[Long]

    Permalink
  11. implicit def publisherUnit2PublisherVoid(publisher: Publisher[Unit]): Publisher[Void]

    Permalink
  12. implicit def runnableMapper(runnable: ⇒ Unit): Runnable

    Permalink
  13. implicit def scalaBiConsumer2JavaBiConsumer[T, U](biConsumer: SBiConsumer[T, U]): JBiConsumer[T, U]

    Permalink
  14. implicit def scalaBiFunction2JavaBiFunction[T, U, V](biFunction: (T, U) ⇒ V): BiFunction[T, U, V]

    Permalink
  15. implicit def scalaBooleanSupplier2JavaBooleanSupplier(supplier: () ⇒ Boolean): BooleanSupplier

    Permalink
  16. implicit def scalaConsumer2JConsumer[T](sc: SConsumer[T]): Consumer[T]

    Permalink
  17. implicit def scalaDuration2JavaDuration(duration: Duration): Duration

    Permalink
  18. implicit def scalaFunction2JavaCallable[T](scalaFunction: () ⇒ T): Callable[T]

    Permalink
  19. implicit def scalaFunction2JavaFunction[T, U](function: (T) ⇒ U): Function[T, U]

    Permalink
  20. implicit def scalaFunction2JavaRunnable(scalaFunction: () ⇒ Unit): Runnable

    Permalink
  21. implicit def scalaFunctionTToMonoR2JavaFunctionTToJMonoR[T, R](function: (T) ⇒ Mono[R]): Function[T, publisher.Mono[_ <: R]]

    Permalink
  22. implicit def scalaIterable2JavaIterable[T](scalaIterable: Iterable[T]): Iterable[T]

    Permalink
  23. implicit def scalaLongConsumer2JLongConsumer(lc: SConsumer[Long]): LongConsumer

    Permalink
  24. implicit def scalaOption2JavaOptional[T](option: Option[T]): Optional[T]

    Permalink
  25. implicit def scalaPredicate2JPredicate[T](sp: SPredicate[T]): Predicate[T]

    Permalink
  26. implicit def scalaSupplierMonoR2JavaSupplierJMonoR[R](supplier: () ⇒ Mono[R]): Supplier[publisher.Mono[R]]

    Permalink
  27. implicit def tupleFive2ScalaTuple5[T1, T2, T3, T4, T5](javaTuple5: Tuple5[T1, T2, T3, T4, T5]): (T1, T2, T3, T4, T5)

    Permalink
  28. implicit def tupleFour2ScalaTuple4[T1, T2, T3, T4](javaTuple4: Tuple4[T1, T2, T3, T4]): (T1, T2, T3, T4)

    Permalink
  29. implicit def tupleSix2ScalaTuple6[T1, T2, T3, T4, T5, T6](javaTuple6: Tuple6[T1, T2, T3, T4, T5, T6]): (T1, T2, T3, T4, T5, T6)

    Permalink
  30. implicit def tupleThree2ScalaTuple3[T1, T2, T3](javaTuple3: Tuple3[T1, T2, T3]): (T1, T2, T3)

    Permalink
  31. implicit def tupleTwo2ScalaTuple2[T1, T2](javaTuple2: Tuple2[T1, T2]): (T1, T2)

    Permalink
  32. implicit def unit2SupplierT[T](supplier: () ⇒ T): Supplier[T]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped