com.google.code.ssm.spring
Class SSMCacheManager

java.lang.Object
  extended by org.springframework.cache.support.AbstractCacheManager
      extended by com.google.code.ssm.spring.SSMCacheManager
All Implemented Interfaces:
InitializingBean, org.springframework.cache.CacheManager
Direct Known Subclasses:
ExtendedSSMCacheManager

public class SSMCacheManager
extends org.springframework.cache.support.AbstractCacheManager

CacheManager backed by a Simple Spring Memcached (SSM) Cache. Because using Spring Cache and CacheManager it is not possible to pass expiration time to backend cache, default expiration time has to be set in SSMCache.SSMCache(com.google.code.ssm.Cache, int, boolean). This expiration time is used for all store requests.

Since:
3.0.0
Author:
Jakub BiaƂek

Constructor Summary
SSMCacheManager()
           
 
Method Summary
protected  Collection<? extends org.springframework.cache.Cache> loadCaches()
           
 
Methods inherited from class org.springframework.cache.support.AbstractCacheManager
addCache, afterPropertiesSet, getCache, getCacheNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSMCacheManager

public SSMCacheManager()
Method Detail

loadCaches

protected Collection<? extends org.springframework.cache.Cache> loadCaches()
Specified by:
loadCaches in class org.springframework.cache.support.AbstractCacheManager


Copyright © 2012. All Rights Reserved.