freemarker.template.cache
Class LoadAdHocCachingStrategyFactory

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

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

Factory class for creating LoadAdHocCachingStrategy objects.

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

Field Summary
static LoadAdHocCachingStrategyFactory INSTANCE
          The singleton instance of this LoadAdHocCachingStrategyFactory
 
Method Summary
 CachingStrategy create(StrategyParameters params)
          Create a LoadAdHocCachingStrategy 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 LoadAdHocCachingStrategyFactory INSTANCE
The singleton instance of this LoadAdHocCachingStrategyFactory

Method Detail

create

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

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