B C E G M O R S U 
All Classes All Packages

B

backoffMultiplier(double) - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
Multiplier for exponential backoff if multiple exceptions occur in sequence.
builder() - Method in class org.cache2k.addon.UniversalResilienceConfig
 

C

config() - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
 

E

enable(Cache2kBuilder<K, V>) - Static method in class org.cache2k.addon.UniversalResiliencePolicy
 

G

getBackoffMultiplier() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
getConfigClass() - Method in class org.cache2k.addon.UniversalResilienceSupplier
 
getMaxRetryInterval() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
getMaxRetryInterval() - Method in class org.cache2k.addon.UniversalResiliencePolicy
 
getMinRetryInterval() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
getMultiplier() - Method in class org.cache2k.addon.UniversalResiliencePolicy
 
getResilienceDuration() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
getResilienceDuration() - Method in class org.cache2k.addon.UniversalResiliencePolicy
 
getRetryInterval() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
getRetryInterval() - Method in class org.cache2k.addon.UniversalResiliencePolicy
 
getRetryPercentOfResilienceDuration() - Method in class org.cache2k.addon.UniversalResilienceConfig
 

M

maxRetryInterval(long, TimeUnit) - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
If a loader exception happens, this is the maximum time interval after a retry attempt is made.
minRetryInterval(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
A minimum value of retry interval if its not explicitly set and derived from resilience duration or expireAfterWrite.

O

org.cache2k.addon - package org.cache2k.addon
 

R

resilienceDuration(long, TimeUnit) - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
Time span the cache will suppress loader exceptions if a value is available from a previous load.
retryInterval(long, TimeUnit) - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
If a loader exception happens, this is the time interval after a retry attempt is made.
retryLoadAfter(K, LoadExceptionInfo<K, V>) - Method in class org.cache2k.addon.UniversalResiliencePolicy
Retries after the load time based on the retry configuration with exponential backoff.
retryPercentOfResilienceDuration(int) - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
If retry values are not specified and a resilience duration available, calculates the retry interval time from the resilience duration.

S

setBackoffMultiplier(double) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setMaxRetryInterval(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setMinRetryInterval(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setResilienceDuration(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setRetryInterval(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setRetryPercentOfResilienceDuration(int) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
supplier() - Static method in class org.cache2k.addon.UniversalResiliencePolicy
 
SUPPLIER - Static variable in class org.cache2k.addon.UniversalResiliencePolicy
 
supply(CacheBuildContext) - Method in class org.cache2k.addon.UniversalResilienceSupplier
 
suppressExceptionUntil(K, LoadExceptionInfo<K, V>, CacheEntry<K, V>) - Method in class org.cache2k.addon.UniversalResiliencePolicy
Allows exceptions to be suppressed for a maximum of resilienceDuration starting from last successful load.

U

UniversalResilienceConfig - Class in org.cache2k.addon
Configuration parameters for the universal resilience policy.
UniversalResilienceConfig() - Constructor for class org.cache2k.addon.UniversalResilienceConfig
 
UniversalResilienceConfig.Builder - Class in org.cache2k.addon
 
UniversalResiliencePolicy<K,​V> - Class in org.cache2k.addon
Resilience policy which implements an exponential back off of the retry intervals.
UniversalResiliencePolicy(long, long) - Constructor for class org.cache2k.addon.UniversalResiliencePolicy
Construct universal resilience policy.
UniversalResiliencePolicy(long, long, long, double) - Constructor for class org.cache2k.addon.UniversalResiliencePolicy
Construct universal resilience policy.
UniversalResilienceSupplier<K,​V> - Class in org.cache2k.addon
UniversalResilienceSupplier() - Constructor for class org.cache2k.addon.UniversalResilienceSupplier
 
B C E G M O R S U 
All Classes All Packages