package publisher
Created by winarto on 12/31/16.
- Alphabetic
- By Inheritance
- publisher
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class ConnectableFlux[T] extends Flux[T]
- trait Filter[T] extends AnyRef
-
class
Flux[T] extends Publisher[T] with MapablePublisher[T] with OnErrorReturn[T] with FluxLike[T] with Filter[T] with Scannable
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
-
trait
FluxLike[T] extends AnyRef
Defines the available operations for FluxLike instances.
-
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
-
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
- type JBiConsumer[T, U] = BiConsumer[T, U]
- trait MapablePublisher[T] extends Publisher[T]
-
class
Mono[T] extends Publisher[T] with MapablePublisher[T] with OnErrorReturn[T] with MonoLike[T] with Filter[T] with Scannable
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
- trait MonoLike[T] extends AnyRef
- trait OnErrorReturn[T] extends AnyRef
- type SBiConsumer[T, U] = (T, U) ⇒ Unit
- type SConsumer[T] = (T) ⇒ Unit
- class SParallelFlux[T] extends AnyRef
- type SPredicate[T] = (T) ⇒ Boolean
-
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
- implicit def fluxTToU2JFluxTToU[T, U](fluxTToU: (Flux[T]) ⇒ U): Function[publisher.Flux[T], U]
- implicit def javaOptional2ScalaOption[T](jOptional: Optional[T]): Option[T]
- implicit def mappableJLong2MappableLong(mappableJLong: MapablePublisher[Long]): MapablePublisher[Long]
- implicit def publisherUnit2PublisherVoid(publisher: Publisher[Unit]): Publisher[Void]
- implicit def runnableMapper(runnable: ⇒ Unit): Runnable
- implicit def scalaBiConsumer2JavaBiConsumer[T, U](biConsumer: SBiConsumer[T, U]): JBiConsumer[T, U]
- implicit def scalaBiFunction2JavaBiFunction[T, U, V](biFunction: (T, U) ⇒ V): BiFunction[T, U, V]
- implicit def scalaBiPredicate2JavaBiPredicate[T, U](scalaBiPredicate: (T, U) ⇒ Boolean): BiPredicate[T, U]
- implicit def scalaBooleanSupplier2JavaBooleanSupplier(supplier: () ⇒ Boolean): BooleanSupplier
- implicit def scalaConsumer2JConsumer[T](sc: SConsumer[T]): Consumer[T]
- implicit def scalaDuration2JavaDuration(duration: Duration): Duration
- implicit def scalaFunction2JavaCallable[T](scalaFunction: () ⇒ T): Callable[T]
- implicit def scalaFunction2JavaFunction[T, U](function: (T) ⇒ U): Function[T, U]
- implicit def scalaFunction2JavaRunnable(scalaFunction: () ⇒ Unit): Runnable
- implicit def scalaFunctionTToMonoR2JavaFunctionTToJMonoR[T, R](function: (T) ⇒ Mono[R]): Function[T, publisher.Mono[_ <: R]]
- implicit def scalaIterable2JavaIterable[T](scalaIterable: Iterable[T]): Iterable[T]
- implicit def scalaLongConsumer2JLongConsumer(lc: SConsumer[Long]): LongConsumer
- implicit def scalaOption2JavaOptional[T](option: Option[T]): Optional[T]
- implicit def scalaPredicate2JPredicate[T](sp: SPredicate[T]): Predicate[T]
- implicit def scalaStream2JavaStream[T](stream: Stream[T]): Stream[T]
- implicit def scalaSupplierMonoR2JavaSupplierJMonoR[R](supplier: () ⇒ Mono[R]): Supplier[publisher.Mono[R]]
- implicit def tupleFive2ScalaTuple5[T1, T2, T3, T4, T5](javaTuple5: Tuple5[T1, T2, T3, T4, T5]): (T1, T2, T3, T4, T5)
- implicit def tupleFour2ScalaTuple4[T1, T2, T3, T4](javaTuple4: Tuple4[T1, T2, T3, T4]): (T1, T2, T3, T4)
- implicit def tupleSix2ScalaTuple6[T1, T2, T3, T4, T5, T6](javaTuple6: Tuple6[T1, T2, T3, T4, T5, T6]): (T1, T2, T3, T4, T5, T6)
- implicit def tupleThree2ScalaTuple3[T1, T2, T3](javaTuple3: Tuple3[T1, T2, T3]): (T1, T2, T3)
- implicit def tupleTwo2ScalaTuple2[T1, T2](javaTuple2: Tuple2[T1, T2]): (T1, T2)
- implicit def unit2SupplierT[T](supplier: () ⇒ T): Supplier[T]
- object ConnectableFlux
- object Flux
- object FluxProcessor
- object GroupedFlux
- object Mono
-
object
PimpMyPublisher
Created by winarto on 1/17/17.
- object SParallelFlux
- object UnicastProcessor