fr.paris.lutece.portal.service.cache
Interface CacheableService

All Superinterfaces:
LuteceService
All Known Implementing Classes:
AbstractCacheableService, ContentService, PageService, PortalMenuService, ResourceService, SiteMapApp, SiteMessageContentService, StandaloneAppService, XPageAppService

public interface CacheableService
extends LuteceService

Base interface of Lutece services that provide a cache


Method Summary
 int getCacheSize()
          Gets the number of item currently 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

isCacheEnable

boolean isCacheEnable()
Gets the current cache status.

Returns:
true if enable, otherwise false

getCacheSize

int getCacheSize()
Gets the number of item currently in the cache.

Returns:
the number of item currently in the cache.

resetCache

void resetCache()
Reset the cache.



Copyright © 2009 Mairie de Paris. All Rights Reserved.