T
- the type of the data provided.public interface ICacheDataProvider<T>
PortalCache
.PortalCache.fetch(String)
Modifier and Type | Method and Description |
---|---|
T |
loadData(String key)
Returns the data that is to be cached under the specified key.
|
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
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.