org.kuali.rice.core.impl.cache
Class CacheAdminServiceImpl
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheAdminServiceImpl
public CacheAdminServiceImpl()
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-2014 The Kuali Foundation. All Rights Reserved.