webentryrefreshpolicy.java
来自「oscache-2.4.1-full」· Java 代码 · 共 36 行
JAVA
36 行
/*
* Copyright (c) 2002-2003 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.oscache.web;
import com.opensymphony.oscache.base.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.<p>
*
* For example:
* <pre>
* <cache:cache key="mykey"
* refreshpolicyclass="com.mycompany.cache.policy.MyRefreshPolicy"
* refreshpolicyparam="...additional data...">
My cached content
* </cache:cache>
* </pre>
*
* @version $Revision: 254 $
* @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
*/
public interface WebEntryRefreshPolicy extends EntryRefreshPolicy {
/**
* Initializes the refresh policy.
*
* @param key The cache key that is being checked.
* @param param Any optional parameters that were supplied
*/
public void init(String key, String param);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?