|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the data provided.public interface ICacheDataProvider<T>
Provides data for a PortalCache
.
PortalCache.fetch(String)
Method Summary | |
---|---|
T |
loadData(String key)
Returns the data that is to be cached under the specified key. |
Method Detail |
---|
T loadData(String key) throws PortalException
Note that the data returned may be a null value, and this information will be cached. In this scenario, it is also necessary to evict the key from the cache when a data is added for it in the original storage (otherwise only update and delete operations would require a eviction).
key
- the key.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |