Save This Page
Home » oscache-2.4.1-full » com.opensymphony.oscache » web » [javadoc | source]
com.opensymphony.oscache.web
public interface: WebEntryRefreshPolicy [javadoc | source]

All Implemented Interfaces:
    EntryRefreshPolicy

Interface to implement an entry refresh policy. Specify the name of the implementing class using the refreshpolicyclass attribute of the cache tag. If any additional parameters are required, they should be supplied using the refreshpolicyparam attribute.

For example:

<cache:cache key="mykey"
refreshpolicyclass="com.mycompany.cache.policy.MyRefreshPolicy"
refreshpolicyparam="...additional data...">
My cached content
</cache:cache>
Method from com.opensymphony.oscache.web.WebEntryRefreshPolicy Summary:
init
Method from com.opensymphony.oscache.web.WebEntryRefreshPolicy Detail:
 public  void init(String key,
    String param)
    Initializes the refresh policy.