object TaskCircuitBreaker
DEPRECATED — moved and made generic in monix.catnap.CircuitBreaker.
Please switch to that, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved and made generic in monix.catnap.CircuitBreaker
- Source
- package.scala
- Alphabetic
- By Inheritance
- TaskCircuitBreaker
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Deprecated Type Members
- type Closed = catnap.CircuitBreaker.Closed
DEPRECATED — please use monix.catnap.CircuitBreaker.Closed.
DEPRECATED — please use monix.catnap.CircuitBreaker.Closed.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.Closed
- type HalfOpen = catnap.CircuitBreaker.HalfOpen
DEPRECATED — please use monix.catnap.CircuitBreaker.HalfOpen.
DEPRECATED — please use monix.catnap.CircuitBreaker.HalfOpen.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.HalfOpen
- type Open = catnap.CircuitBreaker.Open
DEPRECATED — please use monix.catnap.CircuitBreaker.Open.
DEPRECATED — please use monix.catnap.CircuitBreaker.Open.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.Open
- type State = catnap.CircuitBreaker.State
DEPRECATED — please use monix.catnap.CircuitBreaker.State.
DEPRECATED — please use monix.catnap.CircuitBreaker.State.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.State
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- val Closed: catnap.CircuitBreaker.Closed.type
DEPRECATED — please use monix.catnap.CircuitBreaker.Closed.
DEPRECATED — please use monix.catnap.CircuitBreaker.Closed.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.Closed
- val HalfOpen: catnap.CircuitBreaker.HalfOpen.type
DEPRECATED — please use monix.catnap.CircuitBreaker.HalfOpen.
DEPRECATED — please use monix.catnap.CircuitBreaker.HalfOpen.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.HalfOpen
- val Open: catnap.CircuitBreaker.Open.type
DEPRECATED — please use monix.catnap.CircuitBreaker.Open.
DEPRECATED — please use monix.catnap.CircuitBreaker.Open.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved to monix.catnap.CircuitBreaker.Open
- def apply(maxFailures: Int, resetTimeout: FiniteDuration, exponentialBackoffFactor: Double = 1.0, maxResetTimeout: Duration = Duration.Inf, onRejected: Task[Unit] = Task.unit, onClosed: Task[Unit] = Task.unit, onHalfOpen: Task[Unit] = Task.unit, onOpen: Task[Unit] = Task.unit, padding: PaddingStrategy = NoPadding): Task[CircuitBreaker[Task]]
DEPRECATED — please use CircuitBreaker[Task].of.
DEPRECATED — please use CircuitBreaker[Task].of.
Switch to the new version, because the deprecated symbols will be removed.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Moved and made generic in monix.catnap.CircuitBreaker
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.catnap exposes pure abstractions built on top of the Cats-Effect type classes:
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.tail exposes Iterant for purely functional pull based streaming:
Batch
andBatchCursor
, the alternatives to Scala'sIterable
andIterator
respectively that we are using within Iterant's encodingYou can control evaluation with type you choose - be it Task, Coeval, cats.effect.IO or your own as long as you provide correct cats-effect or cats typeclass instance.