Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

Abandoned(String, TimeoutCounters.AbandonedOutcome) - Constructor for record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Abandoned
Creates an instance of a Abandoned record class.
AbandonedWorkerFailed(Instant, String, Throwable) - Constructor for record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Creates an instance of a AbandonedWorkerFailed record class.
AbandonedWorkerSucceeded(Instant, String) - Constructor for record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerSucceeded
Creates an instance of a AbandonedWorkerSucceeded record class.
activeCalls() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Returns the value of the activeCalls record component.
activeCalls() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Returns the value of the activeCalls record component.
ActiveCalls(String, int) - Constructor for record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadSnapshot.ActiveCalls
Creates an instance of a ActiveCalls record class.
advance(Duration) - Method in class io.github.teceli.resiliencia.test.ManualClock
Move the clock forward by the given duration.
and(Resilient<T>) - Method in class io.github.teceli.resiliencia.compose.Policy
Add another pattern to this policy.
assertThat(Outcome<T>) - Static method in class io.github.teceli.resiliencia.test.ResilienciaAssertions
 
attemptCount() - Method in exception class io.github.teceli.resiliencia.patterns.retry.RetryExhaustedException
Total number of attempts made before giving up, including the first call.
attemptCount() - Method in exception class io.github.teceli.resiliencia.patterns.retry.RetryInterruptedException
Total number of attempts made before the interrupt arrived, including the first call.
attemptCount() - Method in exception class io.github.teceli.resiliencia.patterns.retry.RetryRejectedException
Total number of attempts made before shouldRetry declined to retry, including the first call.
AttemptFailed(String, String) - Constructor for record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.AttemptFailed
Creates an instance of a AttemptFailed record class.
AttemptFailed(Instant, String, int, Throwable) - Constructor for record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Creates an instance of a AttemptFailed record class.
attemptNumber() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Returns the value of the attemptNumber record component.
attemptNumber() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Returns the value of the attemptNumber record component.
attemptNumber() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Returns the value of the attemptNumber record component.

B

backoffMultiplier() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the backoffMultiplier record component.
Bulkhead<T> - Class in io.github.teceli.resiliencia.patterns.bulkhead
Bulkhead pattern: bound how many calls may execute concurrently, isolating the protected resource from overload.
BULKHEAD - Enum constant in enum class io.github.teceli.resiliencia.core.api.PatternKind
 
BulkheadCounters - Interface in io.github.teceli.resiliencia.metrics.bulkhead
Counter/timer-worthy occurrences emitted by a Bulkhead.
BulkheadCounters.Call - Record Class in io.github.teceli.resiliencia.metrics.bulkhead
 
BulkheadCounters.Outcome - Enum Class in io.github.teceli.resiliencia.metrics.bulkhead
 
BulkheadEvent - Interface in io.github.teceli.resiliencia.patterns.bulkhead
Events emitted by the Bulkhead pattern.
BulkheadEvent.Finished - Record Class in io.github.teceli.resiliencia.patterns.bulkhead
 
BulkheadEvent.Permitted - Record Class in io.github.teceli.resiliencia.patterns.bulkhead
 
BulkheadEvent.Rejected - Record Class in io.github.teceli.resiliencia.patterns.bulkhead
 
BulkheadFullException - Exception Class in io.github.teceli.resiliencia.patterns.bulkhead
Thrown when a Bulkhead rejects a call because all permits are in use and no permit became available within the configured maximum wait time.
BulkheadFullException(String, int, Duration) - Constructor for exception class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadFullException
 
BulkheadSnapshot - Interface in io.github.teceli.resiliencia.metrics.bulkhead
Gauge-worthy live state of a Bulkhead.
BulkheadSnapshot.ActiveCalls - Record Class in io.github.teceli.resiliencia.metrics.bulkhead
 

C

call(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.compose.Policy
Execute the operation through the pattern chain on the calling thread, blocking until complete.
call(Resilient.Operation<T>) - Method in interface io.github.teceli.resiliencia.core.api.Resilient
Execute an operation with resilience guarantees.
call(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
 
call(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
 
call(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
 
call(Resilient.Operation<T>) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
 
call(Resilient.Operation<T>) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
 
call(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.test.FakeResilient
 
Call(String, BulkheadCounters.Outcome) - Constructor for record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Call
Creates an instance of a Call record class.
Call(String, RateLimiterCounters.Outcome) - Constructor for record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Call
Creates an instance of a Call record class.
callAsync(Resilient.Operation<T>) - Method in interface io.github.teceli.resiliencia.core.api.Resilient
Execute an operation asynchronously on a new virtual thread and return a handle to its result.
callCount() - Method in class io.github.teceli.resiliencia.test.FakeResilient
CallRecorded(String, boolean, Duration) - Constructor for record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Creates an instance of a CallRecorded record class.
CallRecorded(Instant, String, boolean, Duration, double) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Creates an instance of a CallRecorded record class.
cancelOnTimeout() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns the value of the cancelOnTimeout record component.
CapturingListener - Class in io.github.teceli.resiliencia.test
A ResilienceEvent.Listener that records every event it receives, in arrival order, for assertion in tests.
CapturingListener() - Constructor for class io.github.teceli.resiliencia.test.CapturingListener
 
cause() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Failure
Returns the value of the cause record component.
cause() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.AttemptFailed
Returns the value of the cause record component.
cause() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Exhausted
Returns the value of the cause record component.
cause() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Interrupted
Returns the value of the cause record component.
cause() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Rejected
Returns the value of the cause record component.
cause() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Failed
Returns the value of the cause record component.
cause() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Returns the value of the cause record component.
CIRCUIT_BREAKER - Enum constant in enum class io.github.teceli.resiliencia.core.api.PatternKind
 
CircuitBreaker<T> - Class in io.github.teceli.resiliencia.patterns.circuitbreaker
CircuitBreaker pattern: track recent call outcomes in a sliding window and stop calling a failing or slow downstream once the failure or slow-call rate crosses its threshold, rejecting calls immediately instead of piling more load onto something already struggling.
CircuitBreakerCounters - Interface in io.github.teceli.resiliencia.metrics.circuitbreaker
Counter/timer-worthy occurrences emitted by a CircuitBreaker.
CircuitBreakerCounters.CallRecorded - Record Class in io.github.teceli.resiliencia.metrics.circuitbreaker
 
CircuitBreakerCounters.ClosedFromHalfOpen - Record Class in io.github.teceli.resiliencia.metrics.circuitbreaker
Emitted alongside a Transition(to=CLOSED): every Closed transition originates from HalfOpen in the current state machine, and successfulTestCalls only has meaning for that specific case.
CircuitBreakerCounters.Rejected - Record Class in io.github.teceli.resiliencia.metrics.circuitbreaker
A call rejected without executing, because the circuit was Open or HalfOpen with no permits left.
CircuitBreakerCounters.Transition - Record Class in io.github.teceli.resiliencia.metrics.circuitbreaker
 
CircuitBreakerEvent - Interface in io.github.teceli.resiliencia.patterns.circuitbreaker
Events emitted by the CircuitBreaker pattern.
CircuitBreakerEvent.CallRecorded - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerEvent.Closed - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerEvent.HalfOpened - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerEvent.Opened - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerEvent.Reason - Enum Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerEvent.Rejected - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerEvent.RejectingPhase - Enum Class in io.github.teceli.resiliencia.patterns.circuitbreaker
 
CircuitBreakerOpenException - Exception Class in io.github.teceli.resiliencia.patterns.circuitbreaker
Thrown when a call is rejected because the circuit breaker will not let it through: either the circuit is Open, or it is HalfOpen and every permitted test call has already been issued.
CircuitBreakerSnapshot - Interface in io.github.teceli.resiliencia.metrics.circuitbreaker
Gauge-worthy live state of a CircuitBreaker.
CircuitBreakerSnapshot.FailureRate - Record Class in io.github.teceli.resiliencia.metrics.circuitbreaker
 
CircuitBreakerSnapshot.Phase - Enum Class in io.github.teceli.resiliencia.metrics.circuitbreaker
Deliberately a small, stable enum, not a reuse of patterns' own CircuitState sealed type — CircuitState.Open carries fields useful to the pattern but irrelevant and unstable as gauge content.
CircuitBreakerSnapshot.State - Record Class in io.github.teceli.resiliencia.metrics.circuitbreaker
 
CircuitState - Interface in io.github.teceli.resiliencia.patterns.circuitbreaker
The state of a CircuitBreaker at a point in time.
CircuitState.Closed - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
Calls pass through normally while their outcomes are recorded in the sliding window.
CircuitState.HalfOpen - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
A limited number of test calls are let through to probe whether the downstream has recovered.
CircuitState.Open - Record Class in io.github.teceli.resiliencia.patterns.circuitbreaker
Calls are rejected immediately.
clock() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the clock record component.
clock() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns the value of the clock record component.
Clock - Interface in io.github.teceli.resiliencia.core.spi
Abstraction over time, used by patterns that need to read the current instant or wait (Retry backoff, CircuitBreaker open-state duration, RateLimiter windows, ...).
Closed() - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Closed
Creates an instance of a Closed record class.
Closed(Instant, String, int) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Creates an instance of a Closed record class.
CLOSED - Enum constant in enum class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.Phase
 
ClosedFromHalfOpen(String, int) - Constructor for record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.ClosedFromHalfOpen
Creates an instance of a ClosedFromHalfOpen record class.
compose(Resilient<T>) - Static method in class io.github.teceli.resiliencia.compose.Policy
Create a policy with a single pattern.
count() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadSnapshot.ActiveCalls
Returns the value of the count record component.
count() - Method in class io.github.teceli.resiliencia.test.CapturingListener
 
Counters - Interface in io.github.teceli.resiliencia.metrics
Counter/timer-worthy occurrences emitted by a pattern or by Policy's order validation.
countersCount() - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns the number of captured counters.
create() - Static method in class io.github.teceli.resiliencia.test.ManualClock
A manual clock starting at a fixed, arbitrary instant.
create(String) - Static method in record class io.github.teceli.resiliencia.patterns.retry.Retry
A Retry instance configured with sensible defaults, ready to use as-is or refine further via withX methods.
currentFailureRate() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns the value of the currentFailureRate record component.
CUSTOM - Enum constant in enum class io.github.teceli.resiliencia.core.api.PatternKind
A user-defined Resilient implementation that is none of the built-in patterns.

D

DETAILED - Enum constant in enum class io.github.teceli.resiliencia.opentelemetry.DurationInstrumentationMode
Duration recorded via DoubleHistogram.record(...), yielding full percentile/ distribution data, with the documented per-call synchronized pinning risk from the OTel SDK's default explicit-bucket histogram aggregation.
DurationInstrumentationMode - Enum Class in io.github.teceli.resiliencia.opentelemetry
How OpenTelemetryResilienceMetrics records duration metrics (resilience.timeout.duration, resilience.circuitbreaker.calls).

E

elapsed() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Returns the value of the elapsed record component.
elapsed() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Succeeded
Returns the value of the elapsed record component.
elapsed() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Returns the value of the elapsed record component.
elapsedTime() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns the value of the elapsedTime record component.
equals(Object) - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Failure
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.core.api.Outcome.TimedOut
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Call
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadSnapshot.ActiveCalls
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.ClosedFromHalfOpen
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Rejected
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.FailureRate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.State
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.policy.PolicyCounters.ValidationWarning
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Call
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterSnapshot.RemainingPermits
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.AttemptFailed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Exhausted
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Interrupted
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Rejected
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Abandoned
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Failed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Succeeded
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.TimedOut
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.HalfOpened
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Closed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.HalfOpen
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Open
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerSucceeded
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Indicates whether some other object is "equal to" this one.
error() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Returns the value of the error record component.
error() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Returns the value of the error record component.
error() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Returns the value of the error record component.
estimatedWait() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Returns the value of the estimatedWait record component.
events() - Method in class io.github.teceli.resiliencia.test.CapturingListener
All events received so far, in arrival order.
eventsOfType(Class<T>) - Method in class io.github.teceli.resiliencia.test.CapturingListener
Events received so far, narrowed to a specific event type.
execute() - Method in interface io.github.teceli.resiliencia.core.api.Resilient.Operation
 
Exhausted(String, String) - Constructor for record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Exhausted
Creates an instance of a Exhausted record class.
Exhausted(Instant, String, int, Throwable) - Constructor for record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Creates an instance of a Exhausted record class.

F

Failed(String, String) - Constructor for record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Failed
Creates an instance of a Failed record class.
Failed(Instant, String, Throwable) - Constructor for record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Creates an instance of a Failed record class.
FAILED - Enum constant in enum class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.AbandonedOutcome
 
Failure(Throwable) - Constructor for record class io.github.teceli.resiliencia.core.api.Outcome.Failure
Creates an instance of a Failure record class.
FAILURE_RATE_EXCEEDED - Enum constant in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Reason
 
failureCause() - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
Switch to standard AssertJ throwable assertions on the failure cause for further chaining.
FailureRate(String, double) - Constructor for record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.FailureRate
Creates an instance of a FailureRate record class.
FakeResilienceMetrics - Class in io.github.teceli.resiliencia.test
Fake implementation of ResilienceMetrics for testing code that consumes metrics.
FakeResilienceMetrics() - Constructor for class io.github.teceli.resiliencia.test.FakeResilienceMetrics
 
FakeResilient<T> - Class in io.github.teceli.resiliencia.test
A pass-through Resilient for testing code that composes or accepts patterns (e.g.
Finished(Instant, String, int) - Constructor for record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Creates an instance of a Finished record class.
fold(Function<T, U>, Function<Throwable, U>) - Method in interface io.github.teceli.resiliencia.core.api.Outcome
Fold over the outcome: apply one function if Success, another if Failure.
forHalfOpenState(String) - Static method in exception class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerOpenException
A rejection while the circuit is HalfOpen, because every permitted test call has already been issued.
forOpenState(String, Instant, Duration) - Static method in exception class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerOpenException
A rejection while the circuit is Open, carrying when it opened and how much longer it will stay Open before a HalfOpen test call is attempted.

G

getAllCounters() - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns an immutable view of all captured counters in emission order.
getAllSnapshots() - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns an immutable view of all captured snapshots in emission order.
getCountersOfType(Class<T>) - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns all captured counters of a specific type.
getSnapshotsOfType(Class<T>) - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns all captured snapshots of a specific type.

H

HALF_OPEN - Enum constant in enum class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.Phase
 
HALF_OPEN - Enum constant in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.RejectingPhase
 
HalfOpen(int, int) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.HalfOpen
Creates an instance of a HalfOpen record class.
HalfOpened(Instant, String) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.HalfOpened
Creates an instance of a HalfOpened record class.
hasFailureOfType(Class<? extends Throwable>) - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
 
hashCode() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Failure
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Success
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.TimedOut
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Call
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadSnapshot.ActiveCalls
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.ClosedFromHalfOpen
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Rejected
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.FailureRate
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.State
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.policy.PolicyCounters.ValidationWarning
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Call
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterSnapshot.RemainingPermits
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.AttemptFailed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Exhausted
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Interrupted
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Rejected
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Success
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Abandoned
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Failed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Succeeded
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.TimedOut
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.HalfOpened
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Closed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.HalfOpen
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Open
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerSucceeded
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Returns a hash code value for this object.
hashCode() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Returns a hash code value for this object.
hasOwnDeadline() - Method in class io.github.teceli.resiliencia.compose.Policy
True if any pattern in this chain has its own deadline, checked recursively through nested Policy patterns.
hasOwnDeadline() - Method in interface io.github.teceli.resiliencia.core.api.Resilient
Whether this pattern already enforces its own upper bound on total duration, independent of any outer Timeout.
hasOwnDeadline() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
True once Retry.withOverallDeadline(long) has been configured, telling Policy this Retry already caps its own total duration.
hasValue(T) - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
 

I

initialDelayMs() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the initialDelayMs record component.
inner() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns the value of the inner record component.
inner() - Method in record class io.github.teceli.resiliencia.metrics.policy.PolicyCounters.ValidationWarning
Returns the value of the inner record component.
INSTANCE - Static variable in class io.github.teceli.resiliencia.metrics.NoOpMetrics
Singleton instance of the no-op metrics implementation.
instant() - Method in interface io.github.teceli.resiliencia.core.spi.Clock
The current instant, as seen by this clock.
instant() - Method in class io.github.teceli.resiliencia.test.ManualClock
 
Interrupted(String, String) - Constructor for record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Interrupted
Creates an instance of a Interrupted record class.
Interrupted(Instant, String, int, Throwable) - Constructor for record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Creates an instance of a Interrupted record class.
InvalidPolicyException - Exception Class in io.github.teceli.resiliencia.compose
Thrown when a Policy is constructed with an invalid configuration (e.g. no patterns).
InvalidPolicyException(String, String) - Constructor for exception class io.github.teceli.resiliencia.compose.InvalidPolicyException
 
io.github.teceli.resiliencia.compose - module io.github.teceli.resiliencia.compose
 
io.github.teceli.resiliencia.compose - package io.github.teceli.resiliencia.compose
 
io.github.teceli.resiliencia.core - module io.github.teceli.resiliencia.core
 
io.github.teceli.resiliencia.core.api - package io.github.teceli.resiliencia.core.api
 
io.github.teceli.resiliencia.core.spi - package io.github.teceli.resiliencia.core.spi
 
io.github.teceli.resiliencia.metrics - module io.github.teceli.resiliencia.metrics
 
io.github.teceli.resiliencia.metrics - package io.github.teceli.resiliencia.metrics
 
io.github.teceli.resiliencia.metrics.bulkhead - package io.github.teceli.resiliencia.metrics.bulkhead
 
io.github.teceli.resiliencia.metrics.circuitbreaker - package io.github.teceli.resiliencia.metrics.circuitbreaker
 
io.github.teceli.resiliencia.metrics.policy - package io.github.teceli.resiliencia.metrics.policy
 
io.github.teceli.resiliencia.metrics.ratelimiter - package io.github.teceli.resiliencia.metrics.ratelimiter
 
io.github.teceli.resiliencia.metrics.retry - package io.github.teceli.resiliencia.metrics.retry
 
io.github.teceli.resiliencia.metrics.timeout - package io.github.teceli.resiliencia.metrics.timeout
 
io.github.teceli.resiliencia.micrometer - module io.github.teceli.resiliencia.micrometer
 
io.github.teceli.resiliencia.micrometer - package io.github.teceli.resiliencia.micrometer
 
io.github.teceli.resiliencia.opentelemetry - module io.github.teceli.resiliencia.opentelemetry
 
io.github.teceli.resiliencia.opentelemetry - package io.github.teceli.resiliencia.opentelemetry
 
io.github.teceli.resiliencia.patterns - module io.github.teceli.resiliencia.patterns
 
io.github.teceli.resiliencia.patterns.bulkhead - package io.github.teceli.resiliencia.patterns.bulkhead
 
io.github.teceli.resiliencia.patterns.circuitbreaker - package io.github.teceli.resiliencia.patterns.circuitbreaker
 
io.github.teceli.resiliencia.patterns.ratelimiter - package io.github.teceli.resiliencia.patterns.ratelimiter
 
io.github.teceli.resiliencia.patterns.retry - package io.github.teceli.resiliencia.patterns.retry
 
io.github.teceli.resiliencia.patterns.timeout - package io.github.teceli.resiliencia.patterns.timeout
 
io.github.teceli.resiliencia.test - module io.github.teceli.resiliencia.test
 
io.github.teceli.resiliencia.test - package io.github.teceli.resiliencia.test
 
isEmpty() - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns true if no snapshots or counters have been captured.
isFailure() - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
 
isSuccess() - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
 
isSuccessful() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns the value of the isSuccessful record component.
isTimedOut() - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
 
isTimedOutAfter(Duration) - Method in class io.github.teceli.resiliencia.test.OutcomeAssert
 

J

jitterFactor() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the jitterFactor record component.

L

lastError() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Returns the value of the lastError record component.
lastError() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Returns the value of the lastError record component.
limit() - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
The configured maximum number of calls per period.
limit() - Method in exception class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterException
The number of calls permitted per window.
listeners() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the listeners record component.
listeners() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns the value of the listeners record component.

M

ManualClock - Class in io.github.teceli.resiliencia.test
Deterministic Clock for tests: time only moves when advanced explicitly via ManualClock.advance(java.time.Duration) or when a pattern sleeps, so timing-based behavior (Retry backoff, RateLimiter windows) can be asserted exactly and runs instantly.
maxAttempts() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the maxAttempts record component.
maxConcurrentCalls() - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
The configured maximum number of concurrent calls.
maxConcurrentCalls() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Returns the value of the maxConcurrentCalls record component.
maxConcurrentCalls() - Method in exception class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadFullException
The concurrency limit that was reached.
maxDelayMs() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the maxDelayMs record component.
maxWait() - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
How long an excess call may wait for a permit before being rejected.
maxWait() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Returns the value of the maxWait record component.
maxWait() - Method in exception class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadFullException
How long the call waited for a permit before being rejected (zero means fail-fast).
maxWait() - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
How long an excess call may wait for the next window before being rejected.
maxWait() - Method in exception class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterException
How long the call was allowed to wait for a permit before being rejected (zero means fail-fast).
MicrometerResilienceMetrics - Class in io.github.teceli.resiliencia.micrometer
ResilienceMetrics backed by a Micrometer MeterRegistry.
MicrometerResilienceMetrics(MeterRegistry) - Constructor for class io.github.teceli.resiliencia.micrometer.MicrometerResilienceMetrics
 

N

name() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Call
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadSnapshot.ActiveCalls
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.ClosedFromHalfOpen
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Rejected
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.FailureRate
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.State
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Call
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterSnapshot.RemainingPermits
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.AttemptFailed
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Exhausted
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Interrupted
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Rejected
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Success
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Abandoned
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Failed
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Succeeded
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.TimedOut
Returns the value of the name record component.
name() - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
The name identifying this bulkhead instance, used in events and rejection exceptions.
name() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Returns the value of the name record component.
name() - Method in exception class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadFullException
The bulkhead instance name.
name() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.HalfOpened
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Returns the value of the name record component.
name() - Method in exception class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerOpenException
 
name() - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
The name identifying this rate limiter instance, used in events and rejection exceptions.
name() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Returns the value of the name record component.
name() - Method in exception class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterException
The rate limiter instance name.
name() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerSucceeded
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Returns the value of the name record component.
name() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Returns the value of the name record component.
NoOpMetrics - Class in io.github.teceli.resiliencia.metrics
A no-op ResilienceMetrics implementation that discards all recordings.
numberOfSuccessfulTestCalls() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Returns the value of the numberOfSuccessfulTestCalls record component.

O

observe(Counters) - Method in class io.github.teceli.resiliencia.metrics.NoOpMetrics
 
observe(Counters) - Method in interface io.github.teceli.resiliencia.metrics.ResilienceMetrics
Observe a counter/timer-worthy occurrence from any pattern (Retry, Timeout, CircuitBreaker, Bulkhead, RateLimiter) or from Policy's order validation.
observe(Counters) - Method in class io.github.teceli.resiliencia.micrometer.MicrometerResilienceMetrics
 
observe(Counters) - Method in class io.github.teceli.resiliencia.opentelemetry.OpenTelemetryResilienceMetrics
 
observe(Counters) - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
 
observe(Snapshot) - Method in class io.github.teceli.resiliencia.metrics.NoOpMetrics
 
observe(Snapshot) - Method in interface io.github.teceli.resiliencia.metrics.ResilienceMetrics
Observe a gauge-worthy snapshot of live state from CircuitBreaker, Bulkhead, or RateLimiter.
observe(Snapshot) - Method in class io.github.teceli.resiliencia.micrometer.MicrometerResilienceMetrics
 
observe(Snapshot) - Method in class io.github.teceli.resiliencia.opentelemetry.OpenTelemetryResilienceMetrics
 
observe(Snapshot) - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
 
of(String) - Static method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
A CircuitBreaker identified by name, starting Closed with the default thresholds and window size.
of(String, int) - Static method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
A Bulkhead allowing the given number of concurrent calls, rejecting excess calls immediately (maxWait zero).
of(String, int, Duration) - Static method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
A RateLimiter allowing limit calls per period, rejecting excess calls immediately (maxWait zero).
of(String, Duration) - Static method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
A Timeout with the given deadline, ready to use as-is or refine further via withX methods.
onEvent(ResilienceEvent) - Method in interface io.github.teceli.resiliencia.core.spi.ResilienceEvent.Listener
 
onEvent(ResilienceEvent) - Method in class io.github.teceli.resiliencia.metrics.ResilienceMetricsListener
 
onEvent(ResilienceEvent) - Method in class io.github.teceli.resiliencia.test.CapturingListener
 
Open(Instant, Duration) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Open
Creates an instance of a Open record class.
OPEN - Enum constant in enum class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.Phase
 
OPEN - Enum constant in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.RejectingPhase
 
Opened(Instant, String, CircuitBreakerEvent.Reason) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Creates an instance of a Opened record class.
openedAt() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Open
Returns the value of the openedAt record component.
openSince() - Method in exception class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerOpenException
 
OpenTelemetryResilienceMetrics - Class in io.github.teceli.resiliencia.opentelemetry
ResilienceMetrics backed by an OpenTelemetry Meter.
OpenTelemetryResilienceMetrics(Meter) - Constructor for class io.github.teceli.resiliencia.opentelemetry.OpenTelemetryResilienceMetrics
 
OpenTelemetryResilienceMetrics(Meter, DurationInstrumentationMode) - Constructor for class io.github.teceli.resiliencia.opentelemetry.OpenTelemetryResilienceMetrics
 
outcome() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Call
Returns the value of the outcome record component.
outcome() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Call
Returns the value of the outcome record component.
outcome() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Abandoned
Returns the value of the outcome record component.
outcome(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.compose.Policy
Execute and capture outcome (never throws).
outcome(Resilient.Operation<T>) - Method in interface io.github.teceli.resiliencia.core.api.Resilient
Execute an operation and capture the result or failure as an Outcome.
outcome(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
 
outcome(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
 
outcome(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
 
outcome(Resilient.Operation<T>) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
 
outcome(Resilient.Operation<T>) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
 
outcome(Resilient.Operation<T>) - Method in class io.github.teceli.resiliencia.test.FakeResilient
 
Outcome<T> - Interface in io.github.teceli.resiliencia.core.api
Result of executing an operation with a pattern.
Outcome.Failure<T> - Record Class in io.github.teceli.resiliencia.core.api
Operation failed with an exception.
Outcome.Success<T> - Record Class in io.github.teceli.resiliencia.core.api
Operation succeeded and returned a value.
Outcome.TimedOut<T> - Record Class in io.github.teceli.resiliencia.core.api
Operation did not complete within the configured timeout.
OutcomeAssert<T> - Class in io.github.teceli.resiliencia.test
AssertJ assertions for Outcome.
outer() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns the value of the outer record component.
outer() - Method in record class io.github.teceli.resiliencia.metrics.policy.PolicyCounters.ValidationWarning
Returns the value of the outer record component.
overallDeadline() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the overallDeadline record component.

P

passthrough() - Static method in class io.github.teceli.resiliencia.test.FakeResilient
A fake that simply executes the operation, reporting itself as a CUSTOM pattern.
patternKind() - Method in interface io.github.teceli.resiliencia.core.api.Resilient
The kind of this pattern, used for internal comparisons (e.g.
patternKind() - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
 
patternKind() - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
 
patternKind() - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
 
patternKind() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
 
patternKind() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
 
patternKind() - Method in class io.github.teceli.resiliencia.test.FakeResilient
 
PatternKind - Enum Class in io.github.teceli.resiliencia.core.api
The kind of a resilience pattern, used for internal identity checks — e.g.
patternName() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
 
patternName() - Method in interface io.github.teceli.resiliencia.core.api.Resilient
The name of this pattern, e.g.
patternName() - Method in interface io.github.teceli.resiliencia.core.spi.ResilienceEvent
 
patternName() - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
 
patternName() - Method in interface io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent
 
patternName() - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
 
patternName() - Method in interface io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent
 
patternName() - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
 
patternName() - Method in interface io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent
 
patternName() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
 
patternName() - Method in interface io.github.teceli.resiliencia.patterns.retry.RetryEvent
 
patternName() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
 
patternName() - Method in interface io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent
 
patternName() - Method in class io.github.teceli.resiliencia.test.FakeResilient
 
period() - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
The configured length of the fixed window.
period() - Method in exception class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterException
The window length.
permitsIssued() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.HalfOpen
Returns the value of the permitsIssued record component.
Permitted(Instant, String, int) - Constructor for record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Creates an instance of a Permitted record class.
Permitted(Instant, String, int) - Constructor for record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Creates an instance of a Permitted record class.
PERMITTED - Enum constant in enum class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Outcome
 
PERMITTED - Enum constant in enum class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Outcome
 
phase() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Rejected
Returns the value of the phase record component.
phase() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.State
Returns the value of the phase record component.
phase() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Returns the value of the phase record component.
Policy<T> - Class in io.github.teceli.resiliencia.compose
Fluent composition of multiple resilience patterns.
PolicyCounters - Interface in io.github.teceli.resiliencia.metrics.policy
Counter-worthy occurrences emitted by Policy's order validation.
PolicyCounters.ValidationWarning - Record Class in io.github.teceli.resiliencia.metrics.policy
 
PolicyValidationWarning - Record Class in io.github.teceli.resiliencia.compose
Emitted by Policy whenever a WARN-severity OrderingRule fires during Policy.and(Resilient) and construction proceeds — in addition to, not instead of, the existing SLF4J WARN log line.
PolicyValidationWarning(Instant, PatternKind, PatternKind, String, String) - Constructor for record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Creates an instance of a PolicyValidationWarning record class.
problem() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns the value of the problem record component.

R

rate() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.FailureRate
Returns the value of the rate record component.
RATE_LIMITER - Enum constant in enum class io.github.teceli.resiliencia.core.api.PatternKind
 
RateLimiter<T> - Class in io.github.teceli.resiliencia.patterns.ratelimiter
RateLimiter pattern: bound how many calls may start per time window (fixed window, limit calls per period).
RateLimiterCounters - Interface in io.github.teceli.resiliencia.metrics.ratelimiter
Counter/timer-worthy occurrences emitted by a RateLimiter.
RateLimiterCounters.Call - Record Class in io.github.teceli.resiliencia.metrics.ratelimiter
 
RateLimiterCounters.Outcome - Enum Class in io.github.teceli.resiliencia.metrics.ratelimiter
 
RateLimiterEvent - Interface in io.github.teceli.resiliencia.patterns.ratelimiter
Events emitted by the RateLimiter pattern.
RateLimiterEvent.Permitted - Record Class in io.github.teceli.resiliencia.patterns.ratelimiter
 
RateLimiterEvent.Rejected - Record Class in io.github.teceli.resiliencia.patterns.ratelimiter
 
RateLimiterException - Exception Class in io.github.teceli.resiliencia.patterns.ratelimiter
Thrown when a RateLimiter rejects a call because the current window's permits are used up and no permit would become available within the configured maximum wait time.
RateLimiterException(String, int, Duration, Duration) - Constructor for exception class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterException
 
RateLimiterSnapshot - Interface in io.github.teceli.resiliencia.metrics.ratelimiter
Gauge-worthy live state of a RateLimiter.
RateLimiterSnapshot.RemainingPermits - Record Class in io.github.teceli.resiliencia.metrics.ratelimiter
 
reason() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Returns the value of the reason record component.
reason() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Returns the value of the reason record component.
Rejected(String, CircuitBreakerEvent.RejectingPhase) - Constructor for record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Rejected
Creates an instance of a Rejected record class.
Rejected(String, String) - Constructor for record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Rejected
Creates an instance of a Rejected record class.
Rejected(Instant, String, int, Throwable) - Constructor for record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Creates an instance of a Rejected record class.
Rejected(Instant, String, int, Duration) - Constructor for record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Creates an instance of a Rejected record class.
Rejected(Instant, String, CircuitBreakerEvent.RejectingPhase) - Constructor for record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Creates an instance of a Rejected record class.
Rejected(Instant, String, Duration) - Constructor for record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Creates an instance of a Rejected record class.
REJECTED - Enum constant in enum class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Outcome
 
REJECTED - Enum constant in enum class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Outcome
 
remaining() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterSnapshot.RemainingPermits
Returns the value of the remaining record component.
remainingPermits() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Returns the value of the remainingPermits record component.
RemainingPermits(String, int) - Constructor for record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterSnapshot.RemainingPermits
Creates an instance of a RemainingPermits record class.
remainingWait() - Method in exception class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerOpenException
 
remainingWait() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Open
Returns the value of the remainingWait record component.
reset() - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Clears all captured snapshots and counters.
ResilienceEvent - Interface in io.github.teceli.resiliencia.core.spi
Base interface for all resilience events.
ResilienceEvent.Listener - Interface in io.github.teceli.resiliencia.core.spi
Listener for consuming events from patterns.
ResilienceMetrics - Interface in io.github.teceli.resiliencia.metrics
Backend-facing contract that concrete metrics implementations (Micrometer, OpenTelemetry, custom) must implement to observe pattern and Policy events as metrics.
ResilienceMetricsListener - Class in io.github.teceli.resiliencia.metrics
Translates typed events from all resilience patterns into Snapshot/Counters emissions for backend-agnostic metric recording.
ResilienceMetricsListener(ResilienceMetrics) - Constructor for class io.github.teceli.resiliencia.metrics.ResilienceMetricsListener
 
ResilienceMetricsListener(ResilienceMetrics, Set<Class<? extends Throwable>>) - Constructor for class io.github.teceli.resiliencia.metrics.ResilienceMetricsListener
 
ResilienciaAssertions - Class in io.github.teceli.resiliencia.test
Entry point for resiliencia-specific AssertJ assertions.
Resilient<T> - Interface in io.github.teceli.resiliencia.core.api
Base interface for all resilience patterns.
Resilient.Operation<T> - Interface in io.github.teceli.resiliencia.core.api
 
ResilientException - Exception Class in io.github.teceli.resiliencia.core.api
Base exception for all resiliencia errors.
ResilientException(String) - Constructor for exception class io.github.teceli.resiliencia.core.api.ResilientException
 
ResilientException(String, Throwable) - Constructor for exception class io.github.teceli.resiliencia.core.api.ResilientException
 
ResilientTimeoutException - Exception Class in io.github.teceli.resiliencia.core.api
Thrown when an operation does not complete within the configured timeout.
ResilientTimeoutException(Duration) - Constructor for exception class io.github.teceli.resiliencia.core.api.ResilientTimeoutException
 
Retry<T> - Record Class in io.github.teceli.resiliencia.patterns.retry
Retry pattern: execute an operation, retrying on failure up to maxAttempts.
Retry(String, int, long, double, long, double, OptionalLong, Predicate<Throwable>, List<ResilienceEvent.Listener>, Clock) - Constructor for record class io.github.teceli.resiliencia.patterns.retry.Retry
Creates an instance of a Retry record class.
RETRY - Enum constant in enum class io.github.teceli.resiliencia.core.api.PatternKind
 
RetryCounters - Interface in io.github.teceli.resiliencia.metrics.retry
Counter/timer-worthy occurrences emitted by Retry.
RetryCounters.AttemptFailed - Record Class in io.github.teceli.resiliencia.metrics.retry
One failed attempt, sourced from RetryEvent.AttemptFailed, which fires once per failed attempt within a call.
RetryCounters.Exhausted - Record Class in io.github.teceli.resiliencia.metrics.retry
 
RetryCounters.Interrupted - Record Class in io.github.teceli.resiliencia.metrics.retry
 
RetryCounters.Rejected - Record Class in io.github.teceli.resiliencia.metrics.retry
 
RetryCounters.Success - Record Class in io.github.teceli.resiliencia.metrics.retry
The call succeeded — sourced from RetryEvent.Success, emitted exactly once per call, when the retry loop as a whole succeeds.
RetryEvent - Interface in io.github.teceli.resiliencia.patterns.retry
Events emitted by the Retry pattern.
RetryEvent.AttemptFailed - Record Class in io.github.teceli.resiliencia.patterns.retry
 
RetryEvent.Exhausted - Record Class in io.github.teceli.resiliencia.patterns.retry
 
RetryEvent.Interrupted - Record Class in io.github.teceli.resiliencia.patterns.retry
 
RetryEvent.Rejected - Record Class in io.github.teceli.resiliencia.patterns.retry
 
RetryEvent.Success - Record Class in io.github.teceli.resiliencia.patterns.retry
 
RetryExhaustedException - Exception Class in io.github.teceli.resiliencia.patterns.retry
Thrown by the Retry pattern when all configured attempts have failed.
RetryExhaustedException(int, Throwable) - Constructor for exception class io.github.teceli.resiliencia.patterns.retry.RetryExhaustedException
 
RetryInterruptedException - Exception Class in io.github.teceli.resiliencia.patterns.retry
Thrown by the Retry pattern when the thread is interrupted while waiting for a backoff delay between attempts.
RetryInterruptedException(int, Throwable) - Constructor for exception class io.github.teceli.resiliencia.patterns.retry.RetryInterruptedException
 
RetryRejectedException - Exception Class in io.github.teceli.resiliencia.patterns.retry
Thrown by the Retry pattern when shouldRetry declines to retry a failure before the attempt budget is exhausted.
RetryRejectedException(int, Throwable) - Constructor for exception class io.github.teceli.resiliencia.patterns.retry.RetryRejectedException
 

S

SAFE - Enum constant in enum class io.github.teceli.resiliencia.opentelemetry.DurationInstrumentationMode
Duration recorded as a lock-free counter pair — a count and a summed duration, both backed by LongSumAggregator/DoubleSumAggregator.
shouldRetry() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns the value of the shouldRetry record component.
sleep(long) - Method in interface io.github.teceli.resiliencia.core.spi.Clock
Suspend the calling thread for the given duration, as measured by this clock.
sleep(long) - Method in class io.github.teceli.resiliencia.test.ManualClock
Does not block: advances the clock by the requested duration and returns immediately.
SLOW_CALL_RATE_EXCEEDED - Enum constant in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Reason
 
Snapshot - Interface in io.github.teceli.resiliencia.metrics
Gauge-worthy live state emitted by a pattern.
snapshotCount() - Method in class io.github.teceli.resiliencia.test.FakeResilienceMetrics
Returns the number of captured snapshots.
startingAt(Instant) - Static method in class io.github.teceli.resiliencia.test.ManualClock
A manual clock starting at the given instant.
state() - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
The current state, computed fresh on each call: for CircuitState.Open, the returned remainingWait reflects the time left until a HalfOpen test call is attempted, not the originally configured waitDurationInOpenState.
State(String, CircuitBreakerSnapshot.Phase) - Constructor for record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.State
Creates an instance of a State record class.
Succeeded(String, Duration) - Constructor for record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Succeeded
Creates an instance of a Succeeded record class.
Succeeded(Instant, String, Duration) - Constructor for record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Creates an instance of a Succeeded record class.
SUCCEEDED - Enum constant in enum class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.AbandonedOutcome
 
Success(String, int) - Constructor for record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Success
Creates an instance of a Success record class.
Success(Instant, String, int) - Constructor for record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Creates an instance of a Success record class.
Success(T) - Constructor for record class io.github.teceli.resiliencia.core.api.Outcome.Success
Creates an instance of a Success record class.
successes() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.HalfOpen
Returns the value of the successes record component.
successful() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Returns the value of the successful record component.
successfulTestCalls() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.ClosedFromHalfOpen
Returns the value of the successfulTestCalls record component.
suggestedFix() - Method in exception class io.github.teceli.resiliencia.compose.InvalidPolicyException
A human-readable suggestion for how to fix the invalid configuration.
suggestedFix() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns the value of the suggestedFix record component.
systemClock() - Static method in interface io.github.teceli.resiliencia.core.spi.Clock
The default clock, backed by the system wall clock and Thread.sleep(long).

T

TimedOut(String) - Constructor for record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.TimedOut
Creates an instance of a TimedOut record class.
TimedOut(Duration) - Constructor for record class io.github.teceli.resiliencia.core.api.Outcome.TimedOut
Creates an instance of a TimedOut record class.
TimedOut(Instant, String, Duration) - Constructor for record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Creates an instance of a TimedOut record class.
timeout() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.TimedOut
Returns the value of the timeout record component.
timeout() - Method in exception class io.github.teceli.resiliencia.core.api.ResilientTimeoutException
The configured timeout that was exceeded.
timeout() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns the value of the timeout record component.
timeout() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Returns the value of the timeout record component.
Timeout<T> - Record Class in io.github.teceli.resiliencia.patterns.timeout
Timeout pattern: execute an operation on a virtual thread and bound how long the caller waits for it.
Timeout(String, Duration, boolean, List<ResilienceEvent.Listener>, Clock) - Constructor for record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Creates an instance of a Timeout record class.
TIMEOUT - Enum constant in enum class io.github.teceli.resiliencia.core.api.PatternKind
 
TimeoutCounters - Interface in io.github.teceli.resiliencia.metrics.timeout
Counter/timer-worthy occurrences emitted by Timeout.
TimeoutCounters.Abandoned - Record Class in io.github.teceli.resiliencia.metrics.timeout
 
TimeoutCounters.AbandonedOutcome - Enum Class in io.github.teceli.resiliencia.metrics.timeout
 
TimeoutCounters.Failed - Record Class in io.github.teceli.resiliencia.metrics.timeout
 
TimeoutCounters.Succeeded - Record Class in io.github.teceli.resiliencia.metrics.timeout
 
TimeoutCounters.TimedOut - Record Class in io.github.teceli.resiliencia.metrics.timeout
 
TimeoutEvent - Interface in io.github.teceli.resiliencia.patterns.timeout
Events emitted by the Timeout pattern.
TimeoutEvent.AbandonedWorkerFailed - Record Class in io.github.teceli.resiliencia.patterns.timeout
The abandoned worker (interrupted or left running past the timeout) eventually failed.
TimeoutEvent.AbandonedWorkerSucceeded - Record Class in io.github.teceli.resiliencia.patterns.timeout
The abandoned worker (interrupted or left running past the timeout) eventually succeeded.
TimeoutEvent.Failed - Record Class in io.github.teceli.resiliencia.patterns.timeout
 
TimeoutEvent.Succeeded - Record Class in io.github.teceli.resiliencia.patterns.timeout
 
TimeoutEvent.TimedOut - Record Class in io.github.teceli.resiliencia.patterns.timeout
 
timestamp() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns the value of the timestamp record component.
timestamp() - Method in interface io.github.teceli.resiliencia.core.spi.ResilienceEvent
 
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.HalfOpened
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerSucceeded
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Returns the value of the timestamp record component.
timestamp() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Returns the value of the timestamp record component.
to() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Returns the value of the to record component.
toString() - Method in record class io.github.teceli.resiliencia.compose.PolicyValidationWarning
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Failure
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Success
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.TimedOut
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Call
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadSnapshot.ActiveCalls
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.CallRecorded
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.ClosedFromHalfOpen
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Rejected
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.FailureRate
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.State
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.policy.PolicyCounters.ValidationWarning
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Call
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterSnapshot.RemainingPermits
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.AttemptFailed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Exhausted
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Interrupted
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Rejected
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Success
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Abandoned
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Failed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.Succeeded
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.TimedOut
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Finished
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Permitted
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.bulkhead.BulkheadEvent.Rejected
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.CallRecorded
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Closed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.HalfOpened
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Opened
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Rejected
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Closed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.HalfOpen
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitState.Open
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Permitted
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiterEvent.Rejected
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.AttemptFailed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Interrupted
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Rejected
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerFailed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.AbandonedWorkerSucceeded
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Failed
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.Succeeded
Returns a string representation of this record class.
toString() - Method in record class io.github.teceli.resiliencia.patterns.timeout.TimeoutEvent.TimedOut
Returns a string representation of this record class.
totalAttempts() - Method in record class io.github.teceli.resiliencia.metrics.retry.RetryCounters.Success
Returns the value of the totalAttempts record component.
totalAttempts() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Exhausted
Returns the value of the totalAttempts record component.
totalAttempts() - Method in record class io.github.teceli.resiliencia.patterns.retry.RetryEvent.Success
Returns the value of the totalAttempts record component.
Transition(String, CircuitBreakerSnapshot.Phase, CircuitBreakerEvent.Reason) - Constructor for record class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerCounters.Transition
Creates an instance of a Transition record class.

U

useOptimumOrder(Resilient<T>...) - Static method in class io.github.teceli.resiliencia.compose.Policy
Create a policy from the given patterns, composed in the library's optimum order regardless of the order they are passed in — outermost to innermost: RateLimiter, CircuitBreaker, Bulkhead, Retry, Timeout.

V

ValidationWarning(PatternKind, PatternKind) - Constructor for record class io.github.teceli.resiliencia.metrics.policy.PolicyCounters.ValidationWarning
Creates an instance of a ValidationWarning record class.
value() - Method in record class io.github.teceli.resiliencia.core.api.Outcome.Success
Returns the value of the value record component.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.core.api.PatternKind
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Outcome
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.Phase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Outcome
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.AbandonedOutcome
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.opentelemetry.DurationInstrumentationMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Reason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.RejectingPhase
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.teceli.resiliencia.core.api.PatternKind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.metrics.bulkhead.BulkheadCounters.Outcome
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.metrics.circuitbreaker.CircuitBreakerSnapshot.Phase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.metrics.ratelimiter.RateLimiterCounters.Outcome
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.metrics.timeout.TimeoutCounters.AbandonedOutcome
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.opentelemetry.DurationInstrumentationMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.Reason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreakerEvent.RejectingPhase
Returns an array containing the constants of this enum class, in the order they are declared.

W

withBackoffMultiplier(double) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Factor each backoff delay is multiplied by after every failed attempt, producing exponential growth from Retry.withInitialDelay(long).
withCancelOnTimeout(boolean) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Whether the operation's virtual thread is interrupted when the deadline passes.
withClock(Clock) - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
Use a custom Clock instead of the system clock for event timestamps.
withClock(Clock) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Use a custom Clock instead of the system clock, e.g. a manual/virtual clock in tests to make wait-duration and half-open transition assertions deterministic and instant.
withClock(Clock) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
Use a custom Clock instead of the system clock, e.g. a manual/virtual clock in tests to make window and wait assertions deterministic and instant.
withClock(Clock) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Use a custom Clock instead of the system clock, e.g. a manual/virtual clock in tests to make backoff assertions deterministic and instant.
withClock(Clock) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Use a custom Clock instead of the system clock for event timestamps.
withFailureRateThreshold(double) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Fraction of recorded calls that must fail, once the sliding window is full, to open the circuit.
withIgnoreOn(List<Class<? extends Throwable>>) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Exception types that are never recorded as failures, even if also matched by CircuitBreaker.withRecordOn(java.util.List<java.lang.Class<? extends java.lang.Throwable>>).
withInitialDelay(long) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Delay before the first retry attempt.
withJitter(double) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Randomize each backoff delay uniformly within [delay * (1 - factor), delay * (1 + factor)] to spread out retries from many clients that failed at the same moment (thundering herd).
withLimit(int) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
Maximum number of calls allowed per period.
withListener(ResilienceEvent.Listener) - Method in class io.github.teceli.resiliencia.compose.Policy
Add a listener notified of every PolicyValidationWarning emitted by this instance.
withListener(ResilienceEvent.Listener) - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
Add a listener notified of every BulkheadEvent emitted by this instance.
withListener(ResilienceEvent.Listener) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Add a listener notified of every CircuitBreakerEvent emitted by this instance.
withListener(ResilienceEvent.Listener) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
Add a listener notified of every RateLimiterEvent emitted by this instance.
withListener(ResilienceEvent.Listener) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Add a listener notified of every RetryEvent emitted by this instance.
withListener(ResilienceEvent.Listener) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
Add a listener notified of every TimeoutEvent emitted by this instance.
withMaxAttempts(int) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Maximum number of attempts, including the first one — withMaxAttempts(1) disables retrying entirely.
withMaxConcurrentCalls(int) - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
Maximum number of calls allowed to execute concurrently.
withMaxDelay(long) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Cap every backoff delay (including the initial one, after jitter) at the given value, preventing unbounded exponential growth.
withMaxWait(Duration) - Method in class io.github.teceli.resiliencia.patterns.bulkhead.Bulkhead
How long an excess call may wait for a permit before being rejected.
withMaxWait(Duration) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
How long an excess call may wait for the next window before being rejected.
withOnCall(Runnable) - Method in class io.github.teceli.resiliencia.test.FakeResilient
Run the given hook each time this fake executes, before the operation — useful for recording execution order across a chain of fakes.
withOverallDeadline(long) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Bound the total wall-clock time this retry loop is willing to spend across all attempts and backoff waits, measured from the first attempt.
withPatternKind(PatternKind) - Method in class io.github.teceli.resiliencia.test.FakeResilient
 
withPatternName(String) - Method in class io.github.teceli.resiliencia.test.FakeResilient
 
withPeriod(Duration) - Method in class io.github.teceli.resiliencia.patterns.ratelimiter.RateLimiter
Length of the fixed window over which limit calls are allowed.
withPermittedCallsInHalfOpenState(int) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Number of test calls allowed through while HalfOpen.
withRecordOn(List<Class<? extends Throwable>>) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Exception types that count as failures.
withRecordOnResult(Predicate<T>) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Predicate evaluated against a successful return value to record it as a failure anyway, even though no exception was thrown — e.g. an HTTP client returning a 200 with an error body.
withShouldRetry(Predicate<Throwable>) - Method in record class io.github.teceli.resiliencia.patterns.retry.Retry
Decide, for each thrown exception, whether it is worth retrying.
withSlidingWindowSize(int) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Number of most recent calls used to compute the failure and slow-call rates.
withSlowCallDurationThreshold(Duration) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
What counts as a slow call.
withSlowCallRateThreshold(double) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
Fraction of recorded calls that must exceed CircuitBreaker.withSlowCallDurationThreshold(java.time.Duration), once the sliding window is full, to open the circuit.
withTimeout(Duration) - Method in record class io.github.teceli.resiliencia.patterns.timeout.Timeout
How long the caller waits before the operation is considered timed out.
withWaitDurationInOpenState(Duration) - Method in class io.github.teceli.resiliencia.patterns.circuitbreaker.CircuitBreaker
How long the circuit stays Open before moving to HalfOpen to try test calls again.
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form