wvlet.airframe.control

Type members

Classlikes

object CircuitBreaker extends LogSupport
Companion:
class
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 with LogSupport
Companion:
object

A safe interface for accessing CircuitBreaker states when handling events.

A safe interface for accessing CircuitBreaker states when handling events.

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.

sealed trait CircuitBreakerState
object CommandLineTokenizer extends LogSupport

Tokenize single string representations of command line arguments into Array[String]

Tokenize single string representations of command line arguments into Array[String]

object Compat
object Control
Companion:
object
object HealthCheckPolicy extends LogSupport
Companion:
class
object IO
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

case class MultipleExceptions(causes: Seq[Throwable]) extends Exception
object OS

OS type resolver

OS type resolver

object Parallel extends LogSupport

Utilities for parallel execution.

Utilities for parallel execution.

trait Resource[A] extends AutoCloseable

Resource that can be closed.

Resource that can be closed.

Companion:
object
object Resource
Companion:
class
sealed trait ResultClass

A classification of the code execution result

A classification of the code execution result

Companion:
object
Companion:
class
object Retry extends LogSupport

Retry logic implementation helper

Retry logic implementation helper

object Shell extends LogSupport

Launch UNIX (or cygwin) commands from Scala

Launch UNIX (or cygwin) commands from Scala

trait Ticker

Ticker is for measuring the elapsed time.

Ticker is for measuring the elapsed time.

Companion:
object
object Ticker
Companion:
class