B C D E F G I L 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.CoalescingBulkLoaderConfig
 
builder() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
Builder(CoalescingBulkLoaderConfig) - Constructor for class org.cache2k.addon.CoalescingBulkLoaderConfig.Builder
 

C

close() - Method in class org.cache2k.addon.CoalescingBulkLoader
 
CoalescingBulkLoader<K,​V> - Class in org.cache2k.addon
Wraps a AsyncBulkCacheLoader and combines (single) load requests into bulk requests.
CoalescingBulkLoader(AsyncBulkCacheLoader<K, V>, long, int, boolean) - Constructor for class org.cache2k.addon.CoalescingBulkLoader
Constructor using the default time reference TimeReference.DEFAULT
CoalescingBulkLoader(AsyncBulkCacheLoader<K, V>, TimeReference, long, int, boolean) - Constructor for class org.cache2k.addon.CoalescingBulkLoader
Constructor using the specified time reference instance.
CoalescingBulkLoaderConfig - Class in org.cache2k.addon
Configuration options for CoalescingBulkLoaderSupport.
CoalescingBulkLoaderConfig() - Constructor for class org.cache2k.addon.CoalescingBulkLoaderConfig
 
CoalescingBulkLoaderConfig.Builder - Class in org.cache2k.addon
 
CoalescingBulkLoaderSupport - Class in org.cache2k.addon
Wraps a configured AsyncBulkCacheLoader with a CoalescingBulkLoader and configures it with CoalescingBulkLoaderConfig.
CoalescingBulkLoaderSupport() - Constructor for class org.cache2k.addon.CoalescingBulkLoaderSupport
 
config() - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig.Builder
 
config() - Method in class org.cache2k.addon.UniversalResilienceConfig.Builder
 

D

disable(Cache2kBuilder<?, ?>) - Static method in class org.cache2k.addon.CoalescingBulkLoaderSupport
 
doEnlist(CacheBuildContext<K, V>) - Method in class org.cache2k.addon.CoalescingBulkLoaderSupport
 

E

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

F

flush() - Method in class org.cache2k.addon.CoalescingBulkLoader
Send all pending requests to the loader.
forwardRequests(boolean, boolean) - Method in class org.cache2k.addon.CoalescingBulkLoader
Gather requests up to max batch size and forward to the loader

G

getBackoffMultiplier() - Method in class org.cache2k.addon.UniversalResilienceConfig
 
getConfigClass() - Method in class org.cache2k.addon.CoalescingBulkLoaderSupport
 
getConfigClass() - Method in class org.cache2k.addon.UniversalResilienceSupplier
 
getMaxBatchSize() - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig
 
getMaxDelay() - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig
 
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
 
getQueueSize() - Method in class org.cache2k.addon.CoalescingBulkLoader
 
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
 

I

isRefreshOnly() - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig
 

L

loadAll(Set<K>, AsyncBulkCacheLoader.BulkLoadContext<K, V>, AsyncBulkCacheLoader.BulkCallback<K, V>) - Method in class org.cache2k.addon.CoalescingBulkLoader
 

M

maxBatchSize(int) - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig.Builder
If the number of entries waiting for sending to the loader is reached the loader will be called even the delay timespan is not reached yet.
maxDelay(long, TimeUnit) - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig.Builder
Maximum timespan a load request may be delayed before its sent to the loader.
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

refreshOnly(boolean) - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig.Builder
Only do coalesce for refresh ahead requests, user requests will be executed immediately.
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
 
setMaxBatchSize(int) - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig
 
setMaxDelay(long) - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig
Delay in milliseconds.
setMaxRetryInterval(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setMinRetryInterval(Duration) - Method in class org.cache2k.addon.UniversalResilienceConfig
 
setRefreshOnly(boolean) - Method in class org.cache2k.addon.CoalescingBulkLoaderConfig
 
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 D E F G I L M O R S U 
All Classes All Packages