org.kuali.rice.core.impl.cache
Class CacheAdminServiceImpl

java.lang.Object
  extended by org.kuali.rice.core.impl.cache.CacheAdminServiceImpl
All Implemented Interfaces:
CacheAdminService, org.springframework.beans.factory.InitializingBean

public class CacheAdminServiceImpl
extends Object
implements CacheAdminService, org.springframework.beans.factory.InitializingBean

Implementation of the cache administration service which handles requests to flush cache targets from local caches managed by the injected cache manager.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
CacheAdminServiceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void flush(Collection<CacheTarget> cacheTargets)
          Flushes an object or group of objects from the cache based on a cache target.
protected  void logCacheFlush(Collection<CacheTarget> cacheTargets)
           
 void setCacheManager(org.springframework.cache.CacheManager cacheManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheAdminServiceImpl

public CacheAdminServiceImpl()
Method Detail

flush

public void flush(Collection<CacheTarget> cacheTargets)
           throws RiceIllegalArgumentException
Description copied from interface: CacheAdminService
Flushes an object or group of objects from the cache based on a cache target. If the given collection of cache targets is empty or null, this method will do nothing.

Specified by:
flush in interface CacheAdminService
Parameters:
cacheTargets - a collection of targets to flush
Throws:
RiceIllegalArgumentException - if cacheTargets contains any null items.

logCacheFlush

protected void logCacheFlush(Collection<CacheTarget> cacheTargets)

setCacheManager

public void setCacheManager(org.springframework.cache.CacheManager cacheManager)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.