Package-level declarations

Types

Link copied to clipboard
data class CacheSnapshot(val entryCount: Int, val hitRate: Double)

Point-in-time snapshot of the cache policy state.

Link copied to clipboard
data class PolicyHealthSnapshot(val circuitBreaker: CircuitBreakerSnapshot? = null, val bulkhead: BulkheadSnapshot? = null, val rateLimiter: RateLimiterSnapshot? = null, val retry: RetrySnapshot? = null, val cache: CacheSnapshot? = null)

Point-in-time snapshot of policy state for health/readiness endpoints and metrics.

Link copied to clipboard
data class RateLimiterSnapshot(val remainingCalls: Int, val timeToRefill: Duration)

Point-in-time snapshot of the rate limiter policy state.

Link copied to clipboard

A comprehensive resilience policy that orchestrates multiple strategies to safeguard suspendable operations.

Link copied to clipboard
data class RetrySnapshot(val maxAttempts: Int)

Point-in-time snapshot of the retry policy configuration.