T - The type of the itempublic abstract class AbstractItemCache<T> extends Object implements ItemCache<T>
ItemCache. This base implementation takes
care of storing an ItemValueRetriever that can be used in subclasses
to retrieve the item to cache.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractItemCache(ItemValueRetriever<T> itemValueRetriever)
Creates a new abstract item cache.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
retrieveValue()
Retrieves the value of the item to cache.
|
protected AbstractItemCache(ItemValueRetriever<T> itemValueRetriever)
itemValueRetriever - The item value retrieverprotected T retrieveValue() throws CacheException
CacheException - if the value can not be retrievedCopyright © 2026. All rights reserved.