Packages

class CircuitBreakerOptions extends AnyRef

Circuit breaker configuration options. All time are given in milliseconds.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CircuitBreakerOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CircuitBreakerOptions(_asJava: circuitbreaker.CircuitBreakerOptions)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava: circuitbreaker.CircuitBreakerOptions
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def getMaxFailures: Int
  12. def getMaxRetries: Int
  13. def getMetricsRollingWindow: Long
  14. def getNotificationAddress: String
  15. def getNotificationPeriod: Long
  16. def getResetTimeout: Long
  17. def getTimeout: Long
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. def isFallbackOnFailure: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def setFallbackOnFailure(value: Boolean): CircuitBreakerOptions

    Sets whether or not the fallback is executed on failure, even when the circuit is closed.

  25. def setMaxFailures(value: Int): CircuitBreakerOptions

    Sets the maximum number of failures before opening the circuit.

  26. def setMaxRetries(value: Int): CircuitBreakerOptions

    Configures the number of times the circuit breaker tries to redo the operation before failing.

  27. def setMetricsRollingWindow(value: Long): CircuitBreakerOptions

    Sets the rolling window used for metrics.

  28. def setNotificationAddress(value: String): CircuitBreakerOptions

    Sets the event bus address on which the circuit breaker publish its state change.

  29. def setNotificationPeriod(value: Long): CircuitBreakerOptions

    Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its current state.

  30. def setResetTimeout(value: Long): CircuitBreakerOptions

    Sets the time in ms before it attempts to re-close the circuit (by going to the hal-open state).

    Sets the time in ms before it attempts to re-close the circuit (by going to the hal-open state). If the cricuit is closed when the timeout is reached, nothing happens. -1 disables this feature.

  31. def setTimeout(value: Long): CircuitBreakerOptions

    Sets the timeout in milliseconds.

    Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as a failure.

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped