Class CacheServiceImpl

java.lang.Object
org.exoplatform.services.cache.impl.CacheServiceImpl
All Implemented Interfaces:
CacheService

public class CacheServiceImpl extends Object implements CacheService
Created by The eXo Platform SAS. Author : Tuan Nguyen tuan08@users.sourceforge.net Sat, Sep 13, 2003 @ Time: 1:12:22 PM
  • Constructor Details

    • CacheServiceImpl

      public CacheServiceImpl(org.exoplatform.container.xml.InitParams params) throws Exception
      Throws:
      Exception
    • CacheServiceImpl

      public CacheServiceImpl(org.exoplatform.container.xml.InitParams params, ExoCacheFactory factory) throws Exception
      Throws:
      Exception
  • Method Details

    • addExoCacheConfig

      public void addExoCacheConfig(org.exoplatform.container.component.ComponentPlugin plugin)
    • addExoCacheConfig

      public void addExoCacheConfig(ExoCacheConfigPlugin plugin)
      Description copied from interface: CacheService
      Adds a cache configuration plugin.
      Specified by:
      addExoCacheConfig in interface CacheService
      Parameters:
      plugin - the plugin
    • getCacheInstance

      public <K extends Serializable, V> ExoCache<K,V> getCacheInstance(String region)
      Description copied from interface: CacheService
      Returns a specific cache instance.
      Specified by:
      getCacheInstance in interface CacheService
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      region - the cache region
      Returns:
      the cache
    • getAllCacheInstances

      public Collection<ExoCache<? extends Serializable,?>> getAllCacheInstances()
      Description copied from interface: CacheService
      Returns a collection of all the cache instances.
      Specified by:
      getAllCacheInstances in interface CacheService
      Returns:
      all the caches