|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheableService
Base interface of Lutece services that provide a cache
Method Summary | |
---|---|
void |
enableCache(boolean bEnable)
Enable the cache |
int |
getCacheSize()
Gets the number of item currently in the cache. |
java.lang.String |
getInfos()
Returns cache infos |
java.util.List<java.lang.String> |
getKeys()
Gets all keys in the cache |
int |
getMaxElements()
Returns maximum elements accepted into the cache |
long |
getMemorySize()
Return the memory size |
long |
getTimeToLive()
Returns the time to live for objects in the cache |
boolean |
isCacheEnable()
Gets the current cache status. |
void |
resetCache()
Reset the cache. |
Methods inherited from interface fr.paris.lutece.portal.service.util.LuteceService |
---|
getName |
Method Detail |
---|
boolean isCacheEnable()
int getCacheSize()
void resetCache()
void enableCache(boolean bEnable)
bEnable
- true to enable, false to disablejava.util.List<java.lang.String> getKeys()
int getMaxElements()
long getTimeToLive()
long getMemorySize()
java.lang.String getInfos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |