RxOptionCacheOp

wvlet.airframe.rx.RxOptionCacheOp
case class RxOptionCacheOp[A](input: RxCache[Option[A]]) extends RxOptionCache[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RxOptionCache[A]
trait RxOption[A]
trait RxOps[Option[A]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def expireAfterWrite(time: Long, unit: TimeUnit): RxOptionCache[A]

Attributes

Definition Classes
override def getCurrent: Option[A]

Attributes

Definition Classes
override def parents: Seq[Rx[_]]

Attributes

Definition Classes
override def withTicker(ticker: Ticker): RxOptionCache[A]

Attributes

Definition Classes

Inherited methods

def cache[A1 >: A]: RxOptionCache[A1]

Attributes

Inherited from:
RxOption
def filter(f: A => Boolean): RxOption[A]

Attributes

Inherited from:
RxOption
def flatMap[B](f: A => Rx[B]): RxOption[B]

Attributes

Inherited from:
RxOption
def getOrElse[A1 >: A](default: => A1): Rx[A1]

Attributes

Inherited from:
RxOption
def getOrElseRx[A1 >: A](default: => Rx[A1]): Rx[A1]

Attributes

Inherited from:
RxOption
def map[B](f: A => B): RxOption[B]

Attributes

Inherited from:
RxOption
def orElse[A1 >: A](default: => Option[A1]): RxOption[A1]

Attributes

Inherited from:
RxOption
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def recover[U](f: PartialFunction[Throwable, U]): Rx[U]

Recover from a known error and emit a replacement value

Recover from a known error and emit a replacement value

Attributes

Inherited from:
RxOps
def recoverWith[A](f: PartialFunction[Throwable, Rx[A]]): Rx[A]

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

Attributes

Inherited from:
RxOps
def run[U](effect: Option[A] => U): Cancelable

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

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

Attributes

Inherited from:
RxOps
def runContinuously[U](effect: Option[A] => U): Cancelable

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

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

Attributes

Inherited from:
RxOps
def subscribe[U](subscriber: Option[A] => U): Cancelable

Attributes

Inherited from:
RxOps
def toRx: Rx[Option[A]]

Attributes

Inherited from:
RxOption
def transform[B](f: Option[A] => B): Rx[B]

Attributes

Inherited from:
RxOption
def transformOption[B](f: Option[A] => Option[B]): RxOption[B]

Attributes

Inherited from:
RxOption
def transformRx[B](f: Option[A] => Rx[B]): Rx[B]

Attributes

Inherited from:
RxOption
def transformRxOption[B](f: Option[A] => RxOption[B]): RxOption[B]

Attributes

Inherited from:
RxOption
def withFilter(f: A => Boolean): RxOption[A]

Attributes

Inherited from:
RxOption