Subversion Repositories SmartDukaan

Rev

Rev 3050 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3050 Rev 3112
Line 3... Line 3...
3
import net.sf.ehcache.Ehcache;
3
import net.sf.ehcache.Ehcache;
4
import net.sf.ehcache.Element;
4
import net.sf.ehcache.Element;
5
 
5
 
6
public class EhcacheWrapper<K, V> 
6
public class EhcacheWrapper<K, V> 
7
{
7
{
-
 
8
    public static final String HOME_PAGE_SNIPPET_CACHE_NAME = "HomePageSnippets";
-
 
9
    public static final String SHOWCASE_PAGE_SNIPPET_CACHE_NAME = "ShowcasePageSnippets";
8
    private final String cacheName;
10
    private final String cacheName;
9
    private final CacheManager cacheManager;
11
    private final CacheManager cacheManager;
10
 
12
 
11
    public EhcacheWrapper(final String cacheName, final CacheManager cacheManager)
13
    public EhcacheWrapper(final String cacheName, final CacheManager cacheManager)
12
    {
14
    {