org.jasig.portal.utils.cache
Interface ICacheModelFactory

All Known Implementing Classes:
EhCacheModelFactory

public interface ICacheModelFactory

Provides a way for the CacheProviderFactory to generate the correct models for a named CacheProviderFacade wrapper.

Version:
$Revision$
Author:
Eric Dalquist

Method Summary
 org.springmodules.cache.CachingModel getCachingModel(String cacheName)
           
 org.springmodules.cache.FlushingModel getFlushingModel(String cacheName)
           
 

Method Detail

getCachingModel

org.springmodules.cache.CachingModel getCachingModel(String cacheName)
Parameters:
cacheName - The name of the cache this model will be for
Returns:
The appropriate model to use for the named cache.

getFlushingModel

org.springmodules.cache.FlushingModel getFlushingModel(String cacheName)
Parameters:
cacheName - The name of the cache this model will be for
Returns:
The appropriate model to use for the named cache.


Copyright © 2010 Jasig. All Rights Reserved.