Clover coverage report -
Coverage timestamp: Fri Jul 2 2004 18:04:44 CEST
file stats: LOC: 36   Methods: 0
NCLOC: 5   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
WebEntryRefreshPolicy.java - - - -
coverage
 1   
 /*
 2   
  * Copyright (c) 2002-2003 by OpenSymphony
 3   
  * All rights reserved.
 4   
  */
 5   
 package com.opensymphony.oscache.web;
 6   
 
 7   
 import com.opensymphony.oscache.base.EntryRefreshPolicy;
 8   
 
 9   
 /**
 10   
  * Interface to implement an entry refresh policy.
 11   
  * Specify the name of the implementing class using the refreshpolicyclass
 12   
  * attribute of the cache tag. If any additional parameters are required,
 13   
  * they should be supplied using the refreshpolicyparam attribute.<p>
 14   
  *
 15   
  * For example:
 16   
  * <pre>
 17   
  * &lt;cache:cache key="mykey"
 18   
  *              refreshpolicyclass="com.mycompany.cache.policy.MyRefreshPolicy"
 19   
  *              refreshpolicyparam="...additional data..."&gt;
 20   
        My cached content
 21   
  * &lt;/cache:cache&gt;
 22   
  * </pre>
 23   
  *
 24   
  * @version        $Revision: 1.1 $
 25   
  * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
 26   
  */
 27   
 public interface WebEntryRefreshPolicy extends EntryRefreshPolicy {
 28   
     /**
 29   
      * Initializes the refresh policy.
 30   
      *
 31   
      * @param key   The cache key that is being checked.
 32   
      * @param param Any optional parameters that were supplied
 33   
      */
 34   
     public void init(String key, String param);
 35   
 }
 36