T
- the type of the value in the cache.public interface ICacheMultiDataProvider<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
ICacheMultiDataProvider.IRequest
Contains information about a request done to a
ICacheMultiDataProvider . |
Modifier and Type | Method and Description |
---|---|
default T |
getDefaultValue()
The value to use for requested keys not returned by
loadData(IRequest) . |
Collection<CacheItem<T>> |
loadData(ICacheMultiDataProvider.IRequest request)
Returns the data to be loaded into the cache.
|
Collection<CacheItem<T>> loadData(ICacheMultiDataProvider.IRequest request) throws PortalException
request
- a request object containing information about the requested data.getDefaultValue()
.PortalException
default T getDefaultValue()
loadData(IRequest)
.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.