wvlet.airframe.control

Members list

Type members

Classlikes

object CircuitBreaker extends LogSupport

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self 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 Product
trait Equals
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all

A safe interface for accessing CircuitBreaker states when handling events.

A safe interface for accessing CircuitBreaker states when handling events.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
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 Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait CircuitBreakerState

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CLOSED.type
object HALF_OPEN.type
object OPEN.type
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]

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object Compat

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Compat.type
object Control

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Control.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object HealthCheckPolicy extends LogSupport

Attributes

Companion
trait
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object IO

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
IO.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
trait Ticker
class Object
trait Matchable
class Any
case class MultipleExceptions(causes: Seq[Throwable]) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object OS

OS type resolver

OS type resolver

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
OS.type
object Parallel extends LogSupport

Utilities for parallel execution.

Utilities for parallel execution.

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Parallel.type
trait Resource[A] extends AutoCloseable

Resource that can be closed.

Resource that can be closed.

Attributes

Companion
object
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
object Resource

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Resource.type
sealed trait ResultClass

A classification of the code execution result

A classification of the code execution result

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Failed
object Succeeded.type
object ResultClass

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object Retry extends LogSupport

Retry logic implementation helper

Retry logic implementation helper

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Retry.type
object Shell extends LogSupport

Launch UNIX (or cygwin) commands from Scala

Launch UNIX (or cygwin) commands from Scala

Attributes

Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Shell.type
object ThreadUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ThreadUtil.type
trait Ticker

Ticker is for measuring the elapsed time.

Ticker is for measuring the elapsed time.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ManualTicker
object Ticker

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Ticker.type