akka.io

PipelineFactory

object PipelineFactory

This class contains static factory methods which turn a pipeline context and a PipelineStage into readily usable pipelines.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PipelineFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buildFunctionTriple[Ctx <: PipelineContext, CmdAbove, CmdBelow, EvtAbove, EvtBelow](ctx: Ctx, stage: PipelineStage[Ctx, CmdAbove, CmdBelow, EvtAbove, EvtBelow]): PipelinePorts[CmdAbove, CmdBelow, EvtAbove, EvtBelow]

    Scala API: build the pipeline and return a pair of functions representing the command and event pipelines.

    Scala API: build the pipeline and return a pair of functions representing the command and event pipelines. Each function returns the commands and events resulting from running the pipeline on the given input, where the the sequence of events is the first element of the returned pair and the sequence of commands the second element.

    Exceptions thrown by the pipeline stages will not be caught.

    ctx

    The context object for this pipeline

    stage

    The (composite) pipeline stage from whcih to build the pipeline

    returns

    a pair of command and event pipeline functions

  8. def buildWithSink[Ctx <: PipelineContext, CmdAbove, CmdBelow, EvtAbove, EvtBelow](ctx: Ctx, stage: PipelineStage[Ctx, CmdAbove, CmdBelow, EvtAbove, EvtBelow], callback: PipelineSink[CmdBelow, EvtAbove]): PipelineInjector[CmdAbove, EvtBelow]

    Java API: build the pipeline attaching the given callback object to its outputs.

    Java API: build the pipeline attaching the given callback object to its outputs. Exceptions thrown within the pipeline stages will abort processing (i.e. will not be processed in following stages) but will be caught and passed as scala.util.Failure into the respective sink.

    Exceptions thrown while processing management commands are not caught.

    ctx

    The context object for this pipeline

    stage

    The (composite) pipeline stage from whcih to build the pipeline

    callback

    The PipelineSink to attach to the built pipeline

    returns

    a handle for injecting events or commands into the pipeline

  9. def buildWithSinkFunctions[Ctx <: PipelineContext, CmdAbove, CmdBelow, EvtAbove, EvtBelow](ctx: Ctx, stage: PipelineStage[Ctx, CmdAbove, CmdBelow, EvtAbove, EvtBelow])(commandSink: (Try[CmdBelow]) ⇒ Unit, eventSink: (Try[EvtAbove]) ⇒ Unit): PipelineInjector[CmdAbove, EvtBelow]

    Scala API: build the pipeline attaching the given command and event sinks to its outputs.

    Scala API: build the pipeline attaching the given command and event sinks to its outputs. Exceptions thrown within the pipeline stages will abort processing (i.e. will not be processed in following stages) but will be caught and passed as scala.util.Failure into the respective sink.

    Exceptions thrown while processing management commands are not caught.

    ctx

    The context object for this pipeline

    stage

    The (composite) pipeline stage from whcih to build the pipeline

    commandSink

    The function to invoke for commands or command failures

    eventSink

    The function to invoke for events or event failures

    returns

    a handle for injecting events or commands into the pipeline

  10. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped