colossus.streaming

PipeCircuitBreaker

class PipeCircuitBreaker[I, O] extends Pipe[I, O] with CircuitBreaker[Pipe[I, O]] with SourceCircuitBreaker[O, Pipe[I, O]] with SinkCircuitBreaker[I, Pipe[I, O]]

Linear Supertypes
SinkCircuitBreaker[I, Pipe[I, O]], SourceCircuitBreaker[O, Pipe[I, O]], BasicMethods[O], CircuitBreaker[Pipe[I, O]], Pipe[I, O], Source[O], Sink[I], Transport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PipeCircuitBreaker
  2. SinkCircuitBreaker
  3. SourceCircuitBreaker
  4. BasicMethods
  5. CircuitBreaker
  6. Pipe
  7. Source
  8. Sink
  9. Transport
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PipeCircuitBreaker(onBreakHandler: (Throwable) ⇒ Any = ((x$3: Throwable) => ()))

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. def ++[U >: O](next: Source[U]): Source[U]

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

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

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

    Definition Classes
    Any
  8. def break(reason: Throwable): Unit

    Attributes
    protected
    Definition Classes
    CircuitBreaker
  9. def canPullNonEmpty: Boolean

    Definition Classes
    Source
  10. def canPush: Boolean

    Definition Classes
    Sink
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collected: Callback[Iterator[O]]

    Definition Classes
    Source
  13. def complete(): Try[Unit]

    Definition Classes
    SinkCircuitBreakerSink
  14. var current: Option[Pipe[I, O]]

    Attributes
    protected
    Definition Classes
    CircuitBreaker
  15. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fold[U](init: U)(cb: (O, U) ⇒ U): Callback[U]

    Definition Classes
    Source
  19. def foldWhile[U](init: U)(cb: (O, U) ⇒ U)(f: (U) ⇒ Boolean): Callback[U]

    Definition Classes
    Source
  20. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  22. def inputState: Open.type

    Definition Classes
    SinkCircuitBreakerSink
  23. def into[X >: O](sink: Sink[X]): Unit

    Definition Classes
    Source
  24. def into[X >: O](sink: Sink[X], linkClosed: Boolean, linkTerminated: Boolean)(onComplete: (NonOpenTransportState) ⇒ Any): Unit

    Link this source to a sink.

    Link this source to a sink. Items will be pulled from the source and pushed to the sink, respecting backpressure, until either the source is closed or an error occurs. The linkClosed and linkTerminated parameters determine whether to propagate closure/termination of this Source to the linked Sink. However if the sink is closed or terminated first, this source will be terminated.

    sink

    The sink to link to this source

    linkClosed

    if true, the linked sink will be closed when this source is closed

    linkTerminated

    if true, the linked sink will be terminated when this source is terminated

    Definition Classes
    Source
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def isSet: Boolean

    Definition Classes
    CircuitBreaker
  27. def mapIn[A](f: (A) ⇒ I): Sink[A]

    Definition Classes
    Sink
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. def onBreak(t: Throwable): Unit

    Definition Classes
    PipeCircuitBreakerCircuitBreaker
  32. val onBreakTrigger: Trigger

    Attributes
    protected
    Definition Classes
    CircuitBreaker
  33. def outputState: Open.type

    Definition Classes
    SourceCircuitBreakerSource
  34. def peek: PullResult[O]

    Definition Classes
    SourceCircuitBreakerSource
  35. def pull(): PullResult[O]

    Pull the next item from the Source if available.

    Pull the next item from the Source if available. The returned PullResult will indicate whether an item was successfully pulled.

    Definition Classes
    SourceCircuitBreakerSource
  36. def pull(whenReady: (Try[Option[O]]) ⇒ Unit): Unit

    Definition Classes
    Source
  37. def pullCB(): Callback[Option[O]]

    Definition Classes
    Source
  38. def pullUntilNull(fn: (O) ⇒ Boolean): Option[NullPullResult]

    Pull until either the supplied function returns false or there are no more items immediately available to pull, in which case a Some[NullPullResult] is returned indicating why the loop stopped.

    Pull until either the supplied function returns false or there are no more items immediately available to pull, in which case a Some[NullPullResult] is returned indicating why the loop stopped.

    Definition Classes
    SourceCircuitBreakerSource
  39. def pullWhile(fn: (O) ⇒ PullAction, onc: (TerminalPullResult) ⇒ Any): Unit

    Repeatedly pull items out of a pipe, even if items are not immediately available.

    Repeatedly pull items out of a pipe, even if items are not immediately available. The Source will hold onto the given processing function and immediately forward items into it as they become available. The returned PullAction determines how the Source will proceed with the next item. If PullContinue or Wait are returned, the Source will hold onto the processing function for either when the next item is available or when the returned Signal is fired. onComplete is only called if the Source is closed or terminated while the processing function is in use.

    When Wait is returned, the item that was passed into the processing function is _not_ pulled from the source. Thus when the returned signal is fired and processing resumes, the same item will be passed to the processing function.

    This method is generally intended for linking the output of a Source to the input of a Sink. For a simplified version of this functionality, see Source.into.

    Definition Classes
    SourceCircuitBreakerBasicMethodsSource
  40. def push(item: I): PushResult

    Definition Classes
    SinkCircuitBreakerSink
  41. def pushPeek: PushResult

    Definition Classes
    SinkCircuitBreakerSink
  42. def reduce[U >: O](reducer: (U, U) ⇒ U): Callback[U]

    Definition Classes
    Source
  43. def set(item: Pipe[I, O]): Option[Pipe[I, O]]

    Definition Classes
    CircuitBreaker
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def terminate(err: Throwable): Unit

    Definition Classes
    CircuitBreaker
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. var trigger: Trigger

    Attributes
    protected
    Definition Classes
    CircuitBreaker
  48. def unset(): Option[Pipe[I, O]]

    Definition Classes
    CircuitBreaker
  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def weld[U >: O, T](next: Pipe[U, T]): Pipe[I, T]

    Definition Classes
    Pipe

Inherited from SinkCircuitBreaker[I, Pipe[I, O]]

Inherited from SourceCircuitBreaker[O, Pipe[I, O]]

Inherited from BasicMethods[O]

Inherited from CircuitBreaker[Pipe[I, O]]

Inherited from Pipe[I, O]

Inherited from Source[O]

Inherited from Sink[I]

Inherited from Transport

Inherited from AnyRef

Inherited from Any

Ungrouped