Uses of Interface
org.cache2k.io.LoadExceptionInfo
-
Packages that use LoadExceptionInfo Package Description org.cache2k Main package for cache2k API containing functions to build and access a cache.org.cache2k.io Loader and writer to integrate with external data sources.org.cache2k.processor Entry processor and supporting types for custom atomic operations on a cache entry. -
-
Uses of LoadExceptionInfo in org.cache2k
Methods in org.cache2k that return LoadExceptionInfo Modifier and Type Method Description @Nullable LoadExceptionInfo<K,V>
CacheEntry. getExceptionInfo()
Detailed information of the latest exception from the loader. -
Uses of LoadExceptionInfo in org.cache2k.io
Methods in org.cache2k.io that return LoadExceptionInfo Modifier and Type Method Description default LoadExceptionInfo<K,V>
LoadExceptionInfo. getExceptionInfo()
Returns ourselves.Methods in org.cache2k.io with parameters of type LoadExceptionInfo Modifier and Type Method Description RuntimeException
ExceptionPropagator. propagateException(LoadExceptionInfo<K,V> loadExceptionInfo)
Called when an entry value with exception is accessed.long
ResiliencePolicy. retryLoadAfter(K key, LoadExceptionInfo<K,V> loadExceptionInfo)
Called after the loader threw an exception and no previous value is available orResiliencePolicy.suppressExceptionUntil(K, org.cache2k.io.LoadExceptionInfo<K, V>, org.cache2k.CacheEntry<K, V>)
returned zero.long
ResiliencePolicy. suppressExceptionUntil(K key, LoadExceptionInfo<K,V> loadExceptionInfo, CacheEntry<K,V> cachedEntry)
Called after the loader threw an exception and a previous value is available. -
Uses of LoadExceptionInfo in org.cache2k.processor
Methods in org.cache2k.processor that return LoadExceptionInfo Modifier and Type Method Description @Nullable LoadExceptionInfo<K,V>
MutableCacheEntry. getExceptionInfo()
Detailed information of the latest exception from the loader.
-