|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.html.XmlTransformerCacheService
public class XmlTransformerCacheService
XmlTransformerCacheService
| Constructor Summary | |
|---|---|
XmlTransformerCacheService()
|
|
| 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 |
java.lang.String |
getName()
Returns the Service name |
long |
getTimeToLive()
Returns the time to live for objects in the cache |
static void |
init()
Inits the. |
boolean |
isCacheEnable()
Gets the current cache status. |
void |
resetCache()
Reset the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlTransformerCacheService()
| Method Detail |
|---|
public static void init()
public java.lang.String getName()
getName in interface LuteceServicepublic boolean isCacheEnable()
isCacheEnable in interface CacheableServicepublic int getCacheSize()
getCacheSize in interface CacheableServicepublic void resetCache()
resetCache in interface CacheableServicepublic void enableCache(boolean bEnable)
enableCache in interface CacheableServicebEnable - true to enable, false to disablepublic java.util.List<java.lang.String> getKeys()
getKeys in interface CacheableServicepublic int getMaxElements()
getMaxElements in interface CacheableServicepublic long getTimeToLive()
getTimeToLive in interface CacheableServicepublic long getMemorySize()
getMemorySize in interface CacheableServicepublic java.lang.String getInfos()
getInfos in interface CacheableService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||