Class VolatileCacheServiceProvider
- java.lang.Object
-
- org.silverpeas.core.cache.service.VolatileCacheServiceProvider
-
public class VolatileCacheServiceProvider extends Object
- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VolatileResourceCacheService
getSessionVolatileResourceCacheService()
Gets the volatile resource cache linked to the current user session.
For example (and for now), this cache permits to handle attachments linked to a contribution not yet persisted.
-
-
-
Method Detail
-
getSessionVolatileResourceCacheService
public static VolatileResourceCacheService getSessionVolatileResourceCacheService()
Gets the volatile resource cache linked to the current user session.
For example (and for now), this cache permits to handle attachments linked to a contribution not yet persisted. In case of the user does not persist its contribution, all resources linked to a "volatile" contribution (attachments for the example) are automatically deleted on the user session closing.- Returns:
- the volatile resource cache linked to the current user session.
-
-