wvlet.airframe.control
package wvlet.airframe.control
Members list
Type members
Classlikes
object CircuitBreaker extends LogSupport
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
CircuitBreaker.type
case class CircuitBreaker(name: String, healthCheckPolicy: HealthCheckPolicy, resultClassifier: Any => ResultClass, errorClassifier: Throwable => Failed, onOpenFailureHandler: CircuitBreakerContext => Unit, onStateChangeListener: CircuitBreakerContext => Unit, fallbackHandler: Throwable => Any, delayAfterMarkedDead: RetryPolicy, recoveryPolicy: CircuitBreakerRecoveryPolicy, var nextProvingTimeMillis: Long, var provingWaitTimeMillis: Long, var lastFailure: Option[Throwable], currentState: AtomicReference[CircuitBreakerState]) extends CircuitBreakerContext, LogSupport
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalstrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait CircuitBreakerContextclass Objecttrait Matchableclass AnyShow all
trait CircuitBreakerContext
A safe interface for accessing CircuitBreaker states when handling events.
A safe interface for accessing CircuitBreaker states when handling events.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CircuitBreaker
case class CircuitBreakerOpenException(context: CircuitBreakerContext) extends Exception
An exception thrown when the circuit breaker is open.
An exception thrown when the circuit breaker is open.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object CircuitBreakerRecoveryPolicy
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
trait HealthCheckPolicy
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object HealthCheckPolicy extends LogSupport
Attributes
- Companion
- trait
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
HealthCheckPolicy.type
class ManualTicker(var counter: Long) extends Ticker
A Ticker implementation that can be incremented for test
A Ticker implementation that can be incremented for test
Attributes
- Supertypes
case class MultipleExceptions(causes: Seq[Throwable]) extends Exception
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
trait Resource[A] extends AutoCloseable
Resource that can be closed.
Resource that can be closed.
Attributes
- Companion
- object
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
object Resource
object ResultClass
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResultClass.type
object Retry extends LogSupport
Retry logic implementation helper
Retry logic implementation helper
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
Retry.type
trait Ticker
Ticker is for measuring the elapsed time.
Ticker is for measuring the elapsed time.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ManualTicker
In this article