com.opensymphony.oscache.web
Interface WebEntryRefreshPolicy
- All Superinterfaces:
- EntryRefreshPolicy, Serializable
public interface WebEntryRefreshPolicy
- extends 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>
- Version:
- $Revision: 254 $
- Author:
- Francois Beauregard
Method Summary |
void |
init(String key,
String param)
Initializes the refresh policy. |
init
void init(String key,
String param)
- Initializes the refresh policy.
- Parameters:
key
- The cache key that is being checked.param
- Any optional parameters that were supplied