airframe-control
airframe-control
API
wvlet.airframe.control
CircuitBreaker
CLOSED
HALF_OPEN
OPEN
CircuitBreaker
CircuitBreakerContext
CircuitBreakerOpenException
CircuitBreakerRecoveryPolicy
CircuitBreakerRecoveryPolicy
CircuitBreakerState
Compat
Control
HealthCheckPolicy
HealthCheckPolicy
IO
ManualTicker
MultipleExceptions
Resource
Resource
ResultClass
ResultClass
Failed
Succeeded
Retry
ExponentialBackOff
ExtraWait
Jitter
MaxRetryException
NOT_STARTED
RetryContext
RetryPolicy
RetryPolicyConfig
RetryableFailure
Ticker
Ticker
airframe-control
/
wvlet.airframe.control
/
Control
Control
wvlet.airframe.control.Control
object
Control
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
Control
.
type
Members list
Clear all
Value members
Concrete methods
def
closeResources
[
R
<:
AutoCloseable
](
resources
:
R
*):
Unit
def
withResource
[
R
<:
AutoCloseable
,
U
](
resource
:
R
)(
body
:
R
=>
U
):
U
def
withResourceAsync
[
R
<:
AutoCloseable
,
U
](
resource
:
R
)(
body
:
R
=>
Future
[
U
])(
implicit
sc
:
ExecutionContext
):
Future
[
U
]
A loan pattern for Future[U].
A loan pattern for Future[U].
TODO: Test this after async test is available in 22.5.0
Attributes
def
withResources
[
R1
<:
AutoCloseable
,
R2
<:
AutoCloseable
,
U
](
resource1
:
R1
,
resource2
:
R2
)(
body
: (
R1
,
R2
)
=>
U
):
U
In this article
Attributes
Members list
Value members
Concrete methods