Package

org.squbs

stream

Permalink

package stream

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractPerpetualStream[T] extends AbstractActor with PerpetualStreamBase[T]

    Permalink

    Java API for perpetual stream that starts and stops with the server.

    Java API for perpetual stream that starts and stops with the server.

    T

    The type of the materialized value of the stream.

  2. abstract class FlowToPerpetualStream extends AbstractFlowDefinition

    Permalink

    Java API for creating an HTTP FlowDefinition connecting to a PerpetualStream.

  3. case class LifecycleManaged[T, M]() extends Product with Serializable

    Permalink
  4. trait PerpetualStream[T] extends PerpetualStreamBase[T]

    Permalink

    Scala API for perpetual stream that starts and stops with the server.

    Scala API for perpetual stream that starts and stops with the server.

    T

    The type of the materialized value of the stream.

  5. trait PerpetualStreamBase[T] extends Actor with ActorLogging with Stash with GracefulStopHelper

    Permalink

    Traits for perpetual streams that start and stop with the server.

    Traits for perpetual streams that start and stop with the server. The simplest conforming implementation follows these requirements:

    • The stream materializes to a Future or a Product (Tuple, List, etc.) for which the last element is a Future
    • This Future represents the state whether the stream is done
    • The stream has the killSwitch as the first processing stage right behind the source Non-conforming implementations need to implement one or more of the provided hooks while conforming implementations can well be supported by the default implementations.
    T

    The type of the materialized value of the stream.

  6. trait PerpetualStreamMatValue[T] extends AnyRef

    Permalink
  7. class SafeSelect extends Actor with ActorLogging

    Permalink
  8. class Trigger[T, M1, M2] extends AnyRef

    Permalink
  9. final class TriggerEvent extends Enum[TriggerEvent]

    Permalink
  10. final class TriggerMerge[T] extends GraphStage[FanInShape2[T, TriggerEvent, T]]

    Permalink

    Merge two streams, taking elements as they arrive from an input stream, and a trigger stream to start/stop the flow (pulling from trigger stream first, wait until true, then pulling from the input stream).

    Merge two streams, taking elements as they arrive from an input stream, and a trigger stream to start/stop the flow (pulling from trigger stream first, wait until true, then pulling from the input stream). (keep pulling from trigger stream, wait until false, then stop pulling from the input stream). (Repeat over)

    A TriggerMerge has one out port, one in port and one trigger input port.

    Emits when the input stream has an element available, and the triggered is true Note that, trigger only impact the future input element(s), always allowing the in-flight element to go through

  11. final class UnicomplexActorPublisher extends ActorPublisher[LifecycleState]

    Permalink

Value Members

  1. object MatValueRequest extends Product with Serializable

    Permalink
  2. object SafeSelect

    Permalink

Ungrouped