net.sf.ehcache.loader
Class CacheLoaderFactory
java.lang.Object
net.sf.ehcache.loader.CacheLoaderFactory
public abstract class CacheLoaderFactory
- extends Object
An abstract factory for creating cache loaders. Implementers should provide their own
concrete factory extending this factory.
Note that Ehcache API also allows the CacheLoader to be set programmatically.
- Version:
- $Id: CacheLoaderFactory.java 5594 2012-05-07 16:04:31Z cdennis $
- Author:
- Greg Luck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheLoaderFactory
public CacheLoaderFactory()
createCacheLoader
public abstract CacheLoader createCacheLoader(Ehcache cache,
Properties properties)
- Creates a CacheLoader using the Ehcache configuration mechanism at the time the associated cache
is created.
- Parameters:
cache
- a reference to the owning cache, this cache isn't yet initialized nor wired to a particular CacheManagerproperties
- implementation specific properties configured as delimiter
separated name value pairs in ehcache.xml
- Returns:
- a constructed CacheLoader
Copyright 2001-2015, Terracotta, Inc.