|
||||||||||
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()
|
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 LuteceService
public boolean isCacheEnable()
isCacheEnable
in interface CacheableService
public int getCacheSize()
getCacheSize
in interface CacheableService
public void resetCache()
resetCache
in interface CacheableService
public void enableCache(boolean bEnable)
enableCache
in interface CacheableService
bEnable
- true to enable, false to disablepublic java.util.List<java.lang.String> getKeys()
getKeys
in interface CacheableService
public int getMaxElements()
getMaxElements
in interface CacheableService
public long getTimeToLive()
getTimeToLive
in interface CacheableService
public long getMemorySize()
getMemorySize
in interface CacheableService
public java.lang.String getInfos()
getInfos
in interface CacheableService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |