类 CacheEwaScript
java.lang.Object
com.gdxsoft.easyweb.cache.CacheEwaScript
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明获取缓存内容booleangetCachedContent(int cachedSeconds) 获取文件内容,如果文件超时,则删除文件并返回空getName()getPath()voidinit()void清除Cache文件,用于ConfigCache发现配置文件改变时booleanwriteCache(String content) 写内容
-
构造器详细资料
-
CacheEwaScript
-
CacheEwaScript
-
-
方法详细资料
-
removeCached
public void removeCached()清除Cache文件,用于ConfigCache发现配置文件改变时 -
init
public void init() -
getCachedContent
获取文件内容,如果文件超时,则删除文件并返回空- 参数:
cachedSeconds- 缓存时间- 返回:
- 抛出:
Exception
-
writeCache
写内容- 参数:
content-- 返回:
-
getPath
- 返回:
- the _Path
-
getName
- 返回:
- the _Name
-
getCachedContent
获取缓存内容- 返回:
- the _Content
-
getResult
- 返回:
- the _Result
-