freemarker.template.cache
Interface Cacheable

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AbstractTemplate, BinaryData, Template, UnparsedTemplate

public interface Cacheable
extends java.lang.Cloneable

Abstracts information relating to the caching of a particular object. Any object that needs to be held in a Cache needs to implement this interface.

Version:
$Id: Cacheable.java 1101 2013-04-01 04:17:32Z run2000 $
See Also:
Cache

Method Summary
 Cache getCache()
          Retrieve the Cache that this object is stored in.
 

Method Detail

getCache

Cache getCache()
Retrieve the Cache that this object is stored in.

Returns:
the Cache that this template belongs to.