object CircuitBreaker extends LogSupport

Linear Supertypes
LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CircuitBreaker
  2. LogSupport
  3. LazyLogger
  4. LoggingMethods
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alwaysClosed: CircuitBreaker
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. def default: CircuitBreaker
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def newCircuitBreaker(name: String): CircuitBreaker
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  28. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. def withConsecutiveFailures(numFailures: Int): CircuitBreaker

    Create a CircuitBreaker that will be open if the number of consecutive failures exceeds the given threshold.

  35. def withFailureRate(failureRate: Double, timeWindowMillis: Int = 60000): CircuitBreaker

    Create a CircuitBreaker that will be open if the failure rate in a time window exceeds the given threshold.

    Create a CircuitBreaker that will be open if the failure rate in a time window exceeds the given threshold. The failure rate will be decayed exponentially as time goes.

  36. def withFailureThreshold(numFailures: Int, numExecutions: Int = 10): CircuitBreaker

    Create a CircuitBreaker that will be open after observing numFailures out of numExecutions.

  37. object CLOSED extends CircuitBreakerState with Product with Serializable
  38. object HALF_OPEN extends CircuitBreakerState with Product with Serializable
  39. object OPEN extends CircuitBreakerState with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped