类 ConfigStatus
java.lang.Object
com.gdxsoft.easyweb.cache.ConfigStatus
- 所有已实现的接口:
Serializable,Cloneable
配置信息状态(文件或数据库)
- 作者:
- admin
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intThe fixed XML namegetMd5()数据库返回数据的md5用于文件或数据库返回的xml数据的状态code
_lastModified + "," + _length + "," + md5boolean是否文件或数据库信息发生变化booleanisFile()return whether it is a file typebooleanisJdbc()return whether it is a jdbc typebooleanreturn whether it is a resource typelongThe configuration last modified timelonglength()文件或xml数据长度voidsetLength(int len) 文件或xml数据长度
-
构造器详细资料
-
ConfigStatus
public ConfigStatus()初始化,用于数据库返回数据 -
ConfigStatus
-
-
方法详细资料
-
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
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
数据库返回数据的md5- 返回:
- the md5
-