Class/Object

reactor.core.scala.publisher

SParallelFlux

Related Docs: object SParallelFlux | package publisher

Permalink

class SParallelFlux[T] extends Publisher[T] with ScalaConverters

Linear Supertypes
ScalaConverters, Publisher[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SParallelFlux
  2. ScalaConverters
  3. Publisher
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class PimpJFlux[T] extends AnyRef

    Permalink
    Definition Classes
    ScalaConverters
  2. implicit class PimpJMono[T] extends AnyRef

    Permalink
    Definition Classes
    ScalaConverters

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def as[U](converter: (SParallelFlux[T]) ⇒ U): U

    Permalink

    Perform a fluent transformation to a value via a converter function which receives this ParallelFlux.

    Perform a fluent transformation to a value via a converter function which receives this ParallelFlux.

    U

    the output value type

    converter

    the converter function from SParallelFlux to some type

    returns

    the value returned by the converter function

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asJava: ParallelFlux[T]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def filter(predicate: SPredicate[T]): SParallelFlux[T]

    Permalink

    Filters the source values on each 'rail'.

    Filters the source values on each 'rail'.

    Note that the same predicate may be called from multiple threads concurrently.

    predicate

    the function returning true to keep a value or false to drop a value

    returns

    the new SParallelFlux instance

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def map[U](mapper: Function1[T, _ <: U]): SParallelFlux[U]

    Permalink

    Maps the source values on each 'rail' to another value.

    Maps the source values on each 'rail' to another value.

    Note that the same mapper function may be called from multiple threads concurrently.

    U

    the output value type

    mapper

    the mapper function turning Ts into Us.

    returns

    the new SParallelFlux instance

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def reduce[R](initialSupplier: () ⇒ R, reducer: (R, T) ⇒ R): SParallelFlux[R]

    Permalink

    Reduces all values within a 'rail' to a single value (with a possibly different type) via a reducer function that is initialized on each rail from an initialSupplier value.

    Reduces all values within a 'rail' to a single value (with a possibly different type) via a reducer function that is initialized on each rail from an initialSupplier value.

    Note that the same mapper function may be called from multiple threads concurrently.

    R

    the reduced output type

    initialSupplier

    the supplier for the initial value

    reducer

    the function to reduce a previous output of reduce (or the initial value supplied) with a current source value.

    returns

    the new SParallelFlux instance

  20. final def reduce(reducer: (T, T) ⇒ T): SMono[T]

    Permalink

    Reduces all values within a 'rail' and across 'rails' with a reducer function into a single sequential value.

    Reduces all values within a 'rail' and across 'rails' with a reducer function into a single sequential value.

    Note that the same reducer function may be called from multiple threads concurrently.

    reducer

    the function to reduce two values into one.

    returns

    the new Mono instance emitting the reduced value or empty if the SParallelFlux was empty

  21. final def runOn(scheduler: Scheduler, prefetch: Int = Queues.SMALL_BUFFER_SIZE): SParallelFlux[T]

    Permalink

    Specifies where each 'rail' will observe its incoming values with possibly work-stealing and a given prefetch amount.

    Specifies where each 'rail' will observe its incoming values with possibly work-stealing and a given prefetch amount.

    This operator uses the default prefetch size returned by Queues.SMALL_BUFFER_SIZE.

    The operator will call Scheduler.createWorker() as many times as this ParallelFlux's parallelism level is.

    No assumptions are made about the Scheduler's parallelism level, if the Scheduler's parallelism level is lower than the ParallelFlux's, some rails may end up on the same thread/worker.

    This operator doesn't require the Scheduler to be trampolining as it does its own built-in trampolining logic.

    scheduler

    the scheduler to use that rail's worker has run out of work.

    prefetch

    the number of values to request on each 'rail' from the source

    returns

    the new SParallelFlux instance

  22. final def sequential(prefetch: Int = Queues.SMALL_BUFFER_SIZE): SFlux[T]

    Permalink

    Merges the values from each 'rail' in a round-robin or same-order fashion and exposes it as a regular Publisher sequence, running with a give prefetch value for the rails.

    Merges the values from each 'rail' in a round-robin or same-order fashion and exposes it as a regular Publisher sequence, running with a give prefetch value for the rails.

    prefetch

    the prefetch amount to use for each rail

    returns

    the new Flux instance

  23. def subscribe(s: Subscriber[_ >: T]): Unit

    Permalink

    Merge the rails into a SFlux.sequential Flux and subscribe to said Flux.

    Merge the rails into a SFlux.sequential Flux and subscribe to said Flux.

    s

    the subscriber to use on SParallelFlux#sequential() Flux

    Definition Classes
    SParallelFlux → Publisher
  24. final def subscribe(onNext: Option[(T) ⇒ Unit] = None, onError: Option[(Throwable) ⇒ Unit] = None, onComplete: Option[() ⇒ Unit] = None, onSubscribe: Option[(Subscription) ⇒ Unit] = None): Disposable

    Permalink

    Subscribes to this SParallelFlux by providing an onNext, onError, onComplete and onSubscribe callback and triggers the execution chain for all 'rails'.

    Subscribes to this SParallelFlux by providing an onNext, onError, onComplete and onSubscribe callback and triggers the execution chain for all 'rails'.

    onNext

    consumer of onNext signals

    onError

    consumer of error signal

    onComplete

    callback on completion signal

    onSubscribe

    consumer of the subscription signal

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ScalaConverters

Inherited from Publisher[T]

Inherited from AnyRef

Inherited from Any

Ungrouped