类 ConfigStatus

java.lang.Object
com.gdxsoft.easyweb.cache.ConfigStatus
所有已实现的接口:
Serializable, Cloneable

public class ConfigStatus extends Object implements Serializable, Cloneable
配置信息状态(文件或数据库)
作者:
admin
另请参阅:
  • 构造器详细资料

    • ConfigStatus

      public ConfigStatus()
      初始化,用于数据库返回数据
    • ConfigStatus

      public ConfigStatus(IConfig configType)
  • 方法详细资料

    • getStatusCode

      public String getStatusCode()
      用于文件或数据库返回的xml数据的状态code
      _lastModified + "," + _length + "," + md5
      返回:
      code(_lastModified + "," + _length + "," + md5)
    • isChanged

      public boolean isChanged()
      是否文件或数据库信息发生变化
      返回:
    • getFileCode

      public int getFileCode()
    • length

      public long length()
      文件或xml数据长度
      返回:
    • setLength

      public void setLength(int len)
      文件或xml数据长度
      参数:
      len -
    • getFixedXmlName

      public String getFixedXmlName()
      The fixed XML name
      返回:
      the fixedXmlName
    • lastModified

      public long lastModified()
      The configuration last modified time
      返回:
      the _lastModified
    • isFile

      public boolean isFile()
      return whether it is a file type
      返回:
      the _isFile
    • isJdbc

      public boolean isJdbc()
      return whether it is a jdbc type
      返回:
    • isResource

      public boolean isResource()
      return whether it is a resource type
      返回:
    • getMd5

      public String getMd5()
      数据库返回数据的md5
      返回:
      the md5