Packages

p

reactor.core.scala

publisher

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]
  2. trait Filter[T] extends AnyRef
  3. class Flux[T] extends Publisher[T] with MapablePublisher[T] with OnErrorReturn[T] with FluxLike[T] with Filter[T]

    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

  4. trait FluxLike[T] extends AnyRef
  5. trait FluxProcessor[IN, OUT] extends Flux[OUT] with Processor[IN, OUT] with Disposable with Scannable

    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

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

    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

  7. type JBiConsumer[T, U] = BiConsumer[T, U]
  8. trait MapablePublisher[T] extends Publisher[T]
  9. class Mono[T] extends Publisher[T] with MapablePublisher[T] with OnErrorReturn[T] with MonoLike[T] with Filter[T]

    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

  10. trait MonoLike[T] extends AnyRef
  11. trait OnErrorReturn[T] extends AnyRef
  12. class ParallelFlux[T] extends AnyRef
  13. type SBiConsumer[T, U] = (T, U) ⇒ Unit
  14. type SConsumer[T] = (T) ⇒ Unit
  15. type SPredicate[T] = (T) ⇒ Boolean
  16. class UnicastProcessor[T] extends Flux[T] with FluxProcessor[T, T]

    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. implicit def fluxTToU2JFluxTToU[T, U](fluxTToU: (Flux[T]) ⇒ U): Function[publisher.Flux[T], U]
  2. implicit def javaOptional2ScalaOption[T](jOptional: Optional[T]): Option[T]
  3. implicit def mappableJLong2MappableLong(mappableJLong: MapablePublisher[Long]): MapablePublisher[Long]
  4. implicit def publisherUnit2PublisherVoid(publisher: Publisher[Unit]): Publisher[Void]
  5. implicit def runnableMapper(runnable: ⇒ Unit): Runnable
  6. implicit def scalaBiConsumer2JavaBiConsumer[T, U](biConsumer: SBiConsumer[T, U]): JBiConsumer[T, U]
  7. implicit def scalaBiFunction2JavaBiFunction[T, U, V](biFunction: (T, U) ⇒ V): BiFunction[T, U, V]
  8. implicit def scalaBiPredicate2JavaBiPredicate[T, U](scalaBiPredicate: (T, U) ⇒ Boolean): BiPredicate[T, U]
  9. implicit def scalaBooleanSupplier2JavaBooleanSupplier(supplier: () ⇒ Boolean): BooleanSupplier
  10. implicit def scalaConsumer2JConsumer[T](sc: SConsumer[T]): Consumer[T]
  11. implicit def scalaDuration2JavaDuration(duration: Duration): Duration
  12. implicit def scalaFunction2JavaCallable[T](scalaFunction: () ⇒ T): Callable[T]
  13. implicit def scalaFunction2JavaFunction[T, U](function: (T) ⇒ U): Function[T, U]
  14. implicit def scalaFunction2JavaRunnable(scalaFunction: () ⇒ Unit): Runnable
  15. implicit def scalaFunctionTToMonoR2JavaFunctionTToJMonoR[T, R](function: (T) ⇒ Mono[R]): Function[T, publisher.Mono[_ <: R]]
  16. implicit def scalaIterable2JavaIterable[T](scalaIterable: Iterable[T]): Iterable[T]
  17. implicit def scalaLongConsumer2JLongConsumer(lc: SConsumer[Long]): LongConsumer
  18. implicit def scalaOption2JavaOptional[T](option: Option[T]): Optional[T]
  19. implicit def scalaPredicate2JPredicate[T](sp: SPredicate[T]): Predicate[T]
  20. implicit def scalaStream2JavaStream[T](stream: Stream[T]): Stream[T]
  21. implicit def scalaSupplierMonoR2JavaSupplierJMonoR[R](supplier: () ⇒ Mono[R]): Supplier[publisher.Mono[R]]
  22. implicit def tupleFive2ScalaTuple5[T1, T2, T3, T4, T5](javaTuple5: Tuple5[T1, T2, T3, T4, T5]): (T1, T2, T3, T4, T5)
  23. implicit def tupleFour2ScalaTuple4[T1, T2, T3, T4](javaTuple4: Tuple4[T1, T2, T3, T4]): (T1, T2, T3, T4)
  24. implicit def tupleSix2ScalaTuple6[T1, T2, T3, T4, T5, T6](javaTuple6: Tuple6[T1, T2, T3, T4, T5, T6]): (T1, T2, T3, T4, T5, T6)
  25. implicit def tupleThree2ScalaTuple3[T1, T2, T3](javaTuple3: Tuple3[T1, T2, T3]): (T1, T2, T3)
  26. implicit def tupleTwo2ScalaTuple2[T1, T2](javaTuple2: Tuple2[T1, T2]): (T1, T2)
  27. implicit def unit2SupplierT[T](supplier: () ⇒ T): Supplier[T]
  28. object ConnectableFlux
  29. object Flux
  30. object FluxProcessor
  31. object GroupedFlux
  32. object Mono
  33. object ParallelFlux
  34. object PimpMyPublisher

    Created by winarto on 1/17/17.

  35. object UnicastProcessor

Inherited from AnyRef

Inherited from Any

Ungrouped