Module com.aoapps.hodgepodge
Package com.aoapps.hodgepodge.cache
Class BackgroundCache.Result<V,Ex extends Throwable>
java.lang.Object
com.aoapps.hodgepodge.cache.BackgroundCache.Result<V,Ex>
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- Enclosing class:
BackgroundCache<K,
V, Ex extends Throwable>
The result of a refresh.
-
Method Summary
Modifier and TypeMethodDescriptionGets the exception that occurred during refresh.getValue()
Gets the value for this entry, is always null when there is an exception.
-
Method Details
-
getValue
Gets the value for this entry, is always null when there is an exception. -
getException
Gets the exception that occurred during refresh.
-