Package org.exoplatform.services.cache
Interface ExoCacheFactory
-
public interface ExoCacheFactoryThis class allows you to create a new instance ofExoCache- Author:
- Dmytro Katayev
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExoCachecreateCache(ExoCacheConfig config)Creates a new instance ofExoCache
-
-
-
Method Detail
-
createCache
ExoCache createCache(ExoCacheConfig config) throws ExoCacheInitException
Creates a new instance ofExoCache- Parameters:
config- the cache to create- Returns:
- the new instance of
ExoCache - Throws:
ExoCacheInitException- if an exception happens while initializing the cache
-
-