org.exoplatform.services.cache.impl
Class CacheServiceImpl

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

public class CacheServiceImpl
extends java.lang.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 Summary
CacheServiceImpl(InitParams params)
           
CacheServiceImpl(InitParams params, ExoCacheFactory factory)
           
 
Method Summary
 void addExoCacheConfig(ComponentPlugin plugin)
           
 void addExoCacheConfig(ExoCacheConfigPlugin plugin)
           
 java.util.Collection getAllCacheInstances()
           
 ExoCache getCacheInstance(java.lang.String region)
           
 void setDistributedCacheListener(DistributedCacheListener listener)
           
 void synchronize(java.lang.String region, java.io.Serializable key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheServiceImpl

public CacheServiceImpl(InitParams params)
                 throws java.lang.Exception
Throws:
java.lang.Exception

CacheServiceImpl

public CacheServiceImpl(InitParams params,
                        ExoCacheFactory factory)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

addExoCacheConfig

public void addExoCacheConfig(ComponentPlugin plugin)

addExoCacheConfig

public void addExoCacheConfig(ExoCacheConfigPlugin plugin)
Specified by:
addExoCacheConfig in interface CacheService

setDistributedCacheListener

public void setDistributedCacheListener(DistributedCacheListener listener)

getCacheInstance

public ExoCache getCacheInstance(java.lang.String region)
Specified by:
getCacheInstance in interface CacheService

getAllCacheInstances

public java.util.Collection getAllCacheInstances()
Specified by:
getAllCacheInstances in interface CacheService

synchronize

public void synchronize(java.lang.String region,
                        java.io.Serializable key,
                        java.lang.Object value)
                 throws java.lang.Exception
Specified by:
synchronize in interface CacheService
Throws:
java.lang.Exception


Copyright © 2012 eXo Platform SAS. All Rights Reserved.