public class InterfaceInstanceHtmlCache<T> extends PortalCache<T>
MAX_AGE_INFINITE
Constructor and Description |
---|
InterfaceInstanceHtmlCache(String cacheId) |
Modifier and Type | Method and Description |
---|---|
T |
get(String key,
int maxAge)
Returns the value of the key if the maxAge has not expired since the last put in the cache for the current key.
|
clear, clear, clearAll, destroy, fetch, fetch, fetch, fetch, get, getCache, getCacheIds, getCapacity, getId, getMaxAgeSeconds, getSize, getStatistics, put, put, remove, remove, removeGroup, setCapacity, setDefaultCacheMultiDataProvider, setMaxAgeSeconds, setReplicateOnPut, toString
public InterfaceInstanceHtmlCache(String cacheId)
public T get(String key, int maxAge)
key
- of the value to be retrieved.maxAge
- in seconds since the last put in the cache. If 0 or a lower number is passed as parameter, will consider that cache does not timeout.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.