Class

wvlet.airframe.rx

RxBlockingQueue

Related Doc: package rx

Permalink

class RxBlockingQueue[A] extends RxSource[A]

Blocking queue implementation for supporting gRPC streaming with Rx

Linear Supertypes
RxSource[A], RxStream[A], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, Rx[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RxBlockingQueue
  2. RxSource
  3. RxStream
  4. LogSupport
  5. LazyLogger
  6. LoggingMethods
  7. Serializable
  8. Serializable
  9. Rx
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RxBlockingQueue()

    Permalink

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. def add(event: RxEvent): Unit

    Permalink
    Definition Classes
    RxBlockingQueueRxSource
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def concat[A1 >: A](other: Rx[A1]): RxStream[A1]

    Permalink
    Definition Classes
    RxStream
  8. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. def filter(f: (A) ⇒ Boolean): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  15. def flatMap[B](f: (A) ⇒ Rx[B]): RxStream[B]

    Permalink
    Definition Classes
    RxStream
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def join[B, C, D](b: Rx[B], c: Rx[C], d: Rx[D]): RxStream[(A, B, C, D)]

    Permalink
    Definition Classes
    RxStream
  22. def join[B, C](b: Rx[B], c: Rx[C]): RxStream[(A, B, C)]

    Permalink
    Definition Classes
    RxStream
  23. def join[B](other: Rx[B]): RxStream[(A, B)]

    Permalink

    Emit a new output if one of Rx[A] or Rx[B] is changed.

    Emit a new output if one of Rx[A] or Rx[B] is changed.

    This method is useful when you need to monitor multiple Rx objects.

    Using joins will be more intuitive than nesting multiple Rx operators like Rx[A].map { x => ... Rx[B].map { ...} }.

    Definition Classes
    RxStream
  24. def lastOption: RxOption[A]

    Permalink
    Definition Classes
    RxStream
  25. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  26. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  27. def map[B](f: (A) ⇒ B): RxStream[B]

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

    Permalink
    Definition Classes
    AnyRef
  29. def next: RxEvent

    Permalink
    Definition Classes
    RxBlockingQueueRxSource
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. def parents: Seq[Rx[_]]

    Permalink
    Definition Classes
    RxBlockingQueueRx
  33. def recover[U](f: PartialFunction[Throwable, U]): RxStream[U]

    Permalink

    Recover from a known error and emit a replacement value

    Recover from a known error and emit a replacement value

    Definition Classes
    Rx
  34. def recoverWith[A](f: PartialFunction[Throwable, Rx[A]]): RxStream[A]

    Permalink

    Recover from a known error and emit replacement values from a given Rx

    Recover from a known error and emit replacement values from a given Rx

    Definition Classes
    Rx
  35. def run[U](effect: (A) ⇒ U): Cancelable

    Permalink

    Evaluate this Rx[A] and apply the given effect function.

    Evaluate this Rx[A] and apply the given effect function. Once OnError(e) or OnCompletion is observed, it will stop the evaluation.

    Definition Classes
    Rx
  36. def runContinuously[U](effect: (A) ⇒ U): Cancelable

    Permalink

    Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported.

    Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported. This is useful for keep processing streams.

    Definition Classes
    Rx
  37. def sample(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the most recent item of the source within periodic time intervals.

    Emit the most recent item of the source within periodic time intervals.

    Definition Classes
    RxStream
  38. def subscribe[U](subscriber: (A) ⇒ U): Cancelable

    Permalink
    Definition Classes
    Rx
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def take(n: Long): RxStream[A]

    Permalink

    Take an event up to n elements.

    Take an event up to n elements. This may receive fewer events than n if the upstream operator completes before generating n elements.

    Definition Classes
    RxStream
  41. def throttleFirst(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the first item of the source within each sampling period.

    Emit the first item of the source within each sampling period. This is useful, for example, to prevent double-clicks of buttons.

    Definition Classes
    RxStream
  42. def throttleLast(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the most recent item of the source within periodic time intervals.

    Emit the most recent item of the source within periodic time intervals.

    Definition Classes
    RxStream
  43. def toOption[X, A1 >: A](implicit ev: <:<[A1, Option[X]]): RxOption[X]

    Permalink
    Definition Classes
    RxStream
  44. def toRxStream: RxStream[A]

    Permalink
    Definition Classes
    RxStreamRx
  45. def toSeq: Seq[A]

    Permalink

    Materialize the stream as Seq[A].

    Materialize the stream as Seq[A]. This works only for the finite stream and for Scala JVM.

    Definition Classes
    Rx
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  48. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  49. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  53. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  54. def withFilter(f: (A) ⇒ Boolean): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  55. def withName(name: String): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  56. def zip[B, C, D](b: Rx[B], c: Rx[C], d: Rx[D]): RxStream[(A, B, C, D)]

    Permalink
    Definition Classes
    RxStream
  57. def zip[B, C](b: Rx[B], c: Rx[C]): RxStream[(A, B, C)]

    Permalink
    Definition Classes
    RxStream
  58. def zip[B](other: Rx[B]): RxStream[(A, B)]

    Permalink

    Combine two Rx streams to form a sequence of pairs.

    Combine two Rx streams to form a sequence of pairs. This will emit a new pair when both of the streams are updated.

    Definition Classes
    RxStream

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from RxSource[A]

Inherited from RxStream[A]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from Rx[A]

Inherited from AnyRef

Inherited from Any

Ungrouped