Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.oscache.web
Interface WebEntryRefreshPolicy

All Superinterfaces:
  EntryRefreshPolicy, java.io.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: 1.1 $
Author:
  Francois Beauregard

Method Summary
`void` | `init(java.lang.String key, java.lang.String param)` Initializes the refresh policy.

Methods inherited from interface com.opensymphony.oscache.base.EntryRefreshPolicy
`needsRefresh`

Method Detail

### init

    public void init(java.lang.String key,
                     java.lang.String param)

  Initializes the refresh policy.

  Parameters:
    `key` - The cache key that is being checked.
    `param` - Any optional parameters that were supplied

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| See www.opensymphony.com for more information.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD