类 CacheEwaScript

java.lang.Object
com.gdxsoft.easyweb.cache.CacheEwaScript

@Deprecated public class CacheEwaScript extends Object
已过时。
EWA脚本缓存文件, 用于缓存EWA脚本生成的内容
作者:
gdx
  • 构造器详细资料

    • CacheEwaScript

      public CacheEwaScript(RequestValue rv)
      已过时。
    • CacheEwaScript

      public CacheEwaScript(String xmlName, String itemName)
      已过时。
  • 方法详细资料

    • removeCached

      public void removeCached()
      已过时。
      清除Cache文件,用于ConfigCache发现配置文件改变时
    • init

      public void init()
      已过时。
    • getCachedContent

      public boolean getCachedContent(int cachedSeconds) throws Exception
      已过时。
      获取文件内容,如果文件超时,则删除文件并返回空
      参数:
      cachedSeconds - 缓存时间
      返回:
      抛出:
      Exception
    • writeCache

      public boolean writeCache(String content)
      已过时。
      写内容
      参数:
      content -
      返回:
    • getPath

      public String getPath()
      已过时。
      返回:
      the _Path
    • getName

      public String getName()
      已过时。
      返回:
      the _Name
    • getCachedContent

      public String getCachedContent()
      已过时。
      获取缓存内容
      返回:
      the _Content
    • getResult

      public CacheLoadResult getResult()
      已过时。
      返回:
      the _Result