freemarker.template.cache
Class PreloadCachingStrategyFactory

java.lang.Object
  extended by freemarker.template.cache.PreloadCachingStrategyFactory
All Implemented Interfaces:
CachingStrategyFactory

public final class PreloadCachingStrategyFactory
extends java.lang.Object
implements CachingStrategyFactory

Factory class for creating PreloadCachingStrategy objects.

Since:
1.9
Version:
$Id: PreloadCachingStrategyFactory.java 1112 2013-04-12 02:59:25Z run2000 $
Author:
Nicholas Cull

Field Summary
static PreloadCachingStrategyFactory INSTANCE
          The singleton instance of this PreloadCachingStrategyFactory
 
Method Summary
 CachingStrategy create(StrategyParameters params)
          Create a PreloadCachingStrategy with the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PreloadCachingStrategyFactory INSTANCE
The singleton instance of this PreloadCachingStrategyFactory

Method Detail

create

public CachingStrategy create(StrategyParameters params)
Create a PreloadCachingStrategy with the given parameters.

Specified by:
create in interface CachingStrategyFactory
Parameters:
params - the parameters with which to create the cache retriever
Returns:
a new PreloadCachingStrategy initialized with the given parameters