B C D F G H I L M P R S T U

B

BaseManager - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
BaseManager() - 类 com.akala.dbcache.core.BaseManager 的构造方法
 
BaseRecord - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
BaseRecord() - 类 com.akala.dbcache.core.BaseRecord 的构造方法
 

C

clear(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
把字符串里的换行、尖括号、双引号去掉,用于在HTML头的keywords里显示
clearAllCache() - 类 com.akala.dbcache.core.BaseManager 中的方法
删除所有缓存!!!!!!!!!!!
clearHTML(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
去掉<>和",屏蔽HTML
closeSession(String) - 类 com.akala.dbcache.core.HibernateUtil 中的静态方法
 
com.akala.dbcache.core - 软件包 com.akala.dbcache.core
 
Config - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
create(BaseRecord) - 类 com.akala.dbcache.core.BaseManager 中的方法
创建一个数据库记录,并把对象放入本机缓存和memcached缓存。
currentSession(String) - 类 com.akala.dbcache.core.HibernateUtil 中的静态方法
 

D

delete(BaseRecord) - 类 com.akala.dbcache.core.BaseManager 中的方法
从数据库中删除数据,如果有必要,可以重写该方法删除缓存中的纪录和列表中的list缓存!
deleteById(long) - 类 com.akala.dbcache.core.BaseManager 中的方法
根据ID从数据库中删除数据,如果有必要,可以重写该方法删除缓存中的纪录和列表中的list缓存!
deleteById(String) - 类 com.akala.dbcache.core.BaseManager 中的方法
根据ID从数据库中删除数据,如果有必要,可以重写该方法删除缓存中的纪录和列表中的list缓存!
DistributedSession - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
DistributedSession() - 类 com.akala.dbcache.core.DistributedSession 的构造方法
 

F

findById(long) - 类 com.akala.dbcache.core.BaseManager 中的方法
根据id获取记录。
findById(String) - 类 com.akala.dbcache.core.BaseManager 中的方法
根据id获取记录。
findByProperty(String, Object) - 类 com.akala.dbcache.core.BaseManager 中的方法
根据某一个字段的值来获取对象

G

getAttribute(HttpSession, String) - 类 com.akala.dbcache.core.DistributedSession 中的静态方法
从远程session里获取一个对象
getContent() - 类 com.akala.dbcache.core.Message 中的方法
 
getCreateDate() - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
getCreateTime() - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
getCreateTime() - 类 com.akala.dbcache.core.Message 中的方法
 
getCurrentPage() - 类 com.akala.dbcache.core.PageBean 中的方法
返回当前页
getEndPage() - 类 com.akala.dbcache.core.PageBean 中的方法
得到结束页,用于显示页码
getFormatDateString(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
得到一个格式化日期
getFromMemCachedServer(String) - 类 com.akala.dbcache.core.BaseManager 中的方法
从memcached server获取对象,对象必须实现java.io.Serializable。
getHashFieldsList() - 类 com.akala.dbcache.core.BaseManager 中的方法
 
getHasRead() - 类 com.akala.dbcache.core.Message 中的方法
 
getHibernateConfigFile() - 类 com.akala.dbcache.core.BaseManager 中的方法
 
getId() - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
getInstance() - 类 com.akala.dbcache.core.Config 中的静态方法
 
getInstance() - 类 com.akala.dbcache.core.ManagerFactory 中的静态方法
 
getInstance() - 类 com.akala.dbcache.core.UdpSenderUtil 中的静态方法
 
getLength(List<SimpleExpression>) - 类 com.akala.dbcache.core.BaseManager 中的方法
根据条件得到数据库记录的长度,Integer对象可以直接存在memcached缓存中,所以没有必要序列化!
getList(List<SimpleExpression>, List<Order>, int, int) - 类 com.akala.dbcache.core.BaseManager 中的方法
每个表必须有id这个字段,每个类必须有id这个field。
getLog4jPath() - 类 com.akala.dbcache.core.Config 中的方法
得到log4j配置文件的路径
getLogger(String) - 类 com.akala.dbcache.core.LoggerUtil 中的静态方法
获取一个logger
getManager(Class) - 类 com.akala.dbcache.core.ManagerFactory 中的方法
根据className得到一个数据库管理类,必须是BaseDbManager的子类
getMaxLengthCacheLength() - 类 com.akala.dbcache.core.Config 中的方法
长度缓存的最大length
getMaxListCacheLength() - 类 com.akala.dbcache.core.Config 中的方法
得到列表缓存最大长度
getMaxOmCacheLength() - 类 com.akala.dbcache.core.Config 中的方法
得到对象缓存最大长度
getMaxSecondaryCacheLength() - 类 com.akala.dbcache.core.Config 中的方法
二级缓存的最大长度
getMemCachedClient() - 类 com.akala.dbcache.core.MemcachedUtil 中的静态方法
得到一个memcached client
getMemCachedExpire() - 类 com.akala.dbcache.core.Config 中的方法
memcached过期时间,10分钟左右即可,因为还有一级缓存,所以远程缓存的时间不用太长。
getMemCacheServerIp() - 类 com.akala.dbcache.core.Config 中的方法
memcached server的IP地址
getMemCacheServerPort() - 类 com.akala.dbcache.core.Config 中的方法
得到memcached server的端口
getNextPage() - 类 com.akala.dbcache.core.PageBean 中的方法
返回下一页的页码,返回-1时表示错误
getNotifyInetAddressList() - 类 com.akala.dbcache.core.Config 中的方法
得到需要广播的地址列表
getPostUserDelete() - 类 com.akala.dbcache.core.Message 中的方法
 
getPostUserId() - 类 com.akala.dbcache.core.Message 中的方法
 
getPreviousPage() - 类 com.akala.dbcache.core.PageBean 中的方法
返回上一页的页数,返回-1时表示错误
getProjectionLength(List<SimpleExpression>, Projection) - 类 com.akala.dbcache.core.BaseManager 中的方法
如果要用distinct,project必须是Projections.countDistinct("bbsThemeId");的形式
getProjectionList(List<SimpleExpression>, List<Order>, Projection, int, int) - 类 com.akala.dbcache.core.BaseManager 中的方法
此处返回的List是Long对象或者Iterator对象,而不是BaseRecord!!!!!!!!!!
getReceiveUserDelete() - 类 com.akala.dbcache.core.Message 中的方法
 
getReceiveUserId() - 类 com.akala.dbcache.core.Message 中的方法
 
getRecordClass() - 类 com.akala.dbcache.core.BaseManager 中的方法
 
getStart() - 类 com.akala.dbcache.core.PageBean 中的方法
得到起始位置
getStartPage() - 类 com.akala.dbcache.core.PageBean 中的方法
得到开始页,用于显示页码
getTitle() - 类 com.akala.dbcache.core.Message 中的方法
 
getTotalPages() - 类 com.akala.dbcache.core.PageBean 中的方法
总页数
getType() - 类 com.akala.dbcache.core.Message 中的方法
 
getUdpServerPort() - 类 com.akala.dbcache.core.Config 中的方法
server端的udp端口
getUpdateDate() - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
getUpdateInterval() - 类 com.akala.dbcache.core.Config 中的方法
数据库缓冲更新时间,尤其在update一个帖子的点击数时尤为必要。
getUpdateTime() - 类 com.akala.dbcache.core.BaseRecord 中的方法
 

H

hasNextPage() - 类 com.akala.dbcache.core.PageBean 中的方法
是否有下一页
hasPreviousPage() - 类 com.akala.dbcache.core.PageBean 中的方法
是否有上一页
HibernateUtil - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。

I

isDbLog() - 类 com.akala.dbcache.core.Config 中的方法
数据库的增删改是否记录日志,便于查询
isDigits(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
判断一个字符串是不是数字组成
isLog() - 类 com.akala.dbcache.core.Config 中的方法
数据库是否需要记日志

L

LoggerUtil - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
LoggerUtil() - 类 com.akala.dbcache.core.LoggerUtil 的构造方法
 
LRUCache<K,V> - com.akala.dbcache.core 中的 类
LRUMap的简单实现,继承LinkedHashMap,重写removeEldestEntry方法即可实现定长LRU算法。
LRUCache(int) - 类 com.akala.dbcache.core.LRUCache 的构造方法
 

M

main(String[]) - 类 com.akala.dbcache.core.MemcachedUtil 中的静态方法
 
main(String[]) - 类 com.akala.dbcache.core.PageBean 中的静态方法
 
main(String[]) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
 
main(String[]) - 类 com.akala.dbcache.core.T 中的静态方法
 
ManagerFactory - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
MemcachedUtil - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
MemcachedUtil() - 类 com.akala.dbcache.core.MemcachedUtil 的构造方法
 
Message - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
Message() - 类 com.akala.dbcache.core.Message 的构造方法
 

P

PageBean - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
PageBean(int, int, int) - 类 com.akala.dbcache.core.PageBean 的构造方法
构造一个翻页bean
putToUpdateMap(BaseRecord) - 类 com.akala.dbcache.core.BaseManager 中的方法
非即时更新数据库对象。

R

reConfigure() - 类 com.akala.dbcache.core.Config 中的方法
重新装载配置文件
removeAttribute(HttpSession, String) - 类 com.akala.dbcache.core.DistributedSession 中的静态方法
删除远程session数据
removeFromCache(long, boolean, boolean) - 类 com.akala.dbcache.core.BaseManager 中的方法
分布式从缓存中去掉对象,下次读取就会从memcached读取或者从数据库读取。
removeListCache(BaseRecord, boolean) - 类 com.akala.dbcache.core.BaseManager 中的方法
本地(localhost)调用,在jsp中调用isLocal一律用true。
removeListCache(BaseRecord) - 类 com.akala.dbcache.core.BaseManager 中的方法
清除缓存,供本机调用。
repstr(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
把字符串中的HTML代码转换成页面显示的代码
repstr1(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
把页面的HTML代码转换成页面显示的代码
repstr2(String) - 类 com.akala.dbcache.core.StringUtils 中的静态方法
把页面显示的代码替换成HTML代码
requestHandle(DatagramPacket) - 类 com.akala.dbcache.core.UdpReceiverThread 中的方法
处理UDP请求,报文格式:com.chongai.distributed.db.NodeManager#removeFromCache#332123
或com.chongai.distributed.db.NodeManager#removeFromListCache#332123
run() - 类 com.akala.dbcache.core.UdpReceiverThread 中的方法
 
run() - 类 com.akala.dbcache.core.UpdateThread 中的方法
 

S

sendAll(String) - 类 com.akala.dbcache.core.UdpSenderUtil 中的方法
通知其他服务器,服务器列表配置置在conf.properties中。
set2MemCachedServer(BaseRecord) - 类 com.akala.dbcache.core.BaseManager 中的方法
把om对象放入memcached server。
setAttribute(HttpSession, String, Object) - 类 com.akala.dbcache.core.DistributedSession 中的静态方法
分布式往session里放入一个对象,远程服务器的id是sessionId#key组合而成
setContent(String) - 类 com.akala.dbcache.core.Message 中的方法
 
setCreateDate(String) - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
setCreateTime(long) - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
setCreateTime(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setHashFieldsList(String) - 类 com.akala.dbcache.core.BaseManager 中的方法
 
setHasRead(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setHibernateConfigFile(String) - 类 com.akala.dbcache.core.BaseManager 中的方法
 
setId(long) - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
setPostUserDelete(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setPostUserId(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setReceiveUserDelete(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setReceiveUserId(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setRecordClass(Class) - 类 com.akala.dbcache.core.BaseManager 中的方法
 
setTitle(String) - 类 com.akala.dbcache.core.Message 中的方法
 
setType(long) - 类 com.akala.dbcache.core.Message 中的方法
 
setUpdateDate(String) - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
setUpdateTime(long) - 类 com.akala.dbcache.core.BaseRecord 中的方法
 
start() - 类 com.akala.dbcache.core.UdpReceiverThread 中的方法
开始UDP服务
stop() - 类 com.akala.dbcache.core.UdpReceiverThread 中的方法
停止UDP服务
StringUtils - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
StringUtils() - 类 com.akala.dbcache.core.StringUtils 的构造方法
 

T

T - com.akala.dbcache.core 中的 类
 
T() - 类 com.akala.dbcache.core.T 的构造方法
 
threadLocalMap - 类 com.akala.dbcache.core.HibernateUtil 中的静态变量
 
toString() - 类 com.akala.dbcache.core.BaseRecord 中的方法
 

U

UdpReceiverThread - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
UdpSenderUtil - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
update(BaseRecord, boolean) - 类 com.akala.dbcache.core.BaseManager 中的方法
更新一个数据库对象。
UpdateThread - com.akala.dbcache.core 中的 类
免责声明:本代码所有权归作者所有,在保持源代码不被破坏以及所有人署名的基础上,任何组织或个人可自由无限使用,使用者需自行承担所有风险。
UpdateThread(Map) - 类 com.akala.dbcache.core.UpdateThread 的构造方法
 
useDistributedDbCache() - 类 com.akala.dbcache.core.Config 中的方法
是否使用数据库分布式缓存
useMemCached() - 类 com.akala.dbcache.core.Config 中的方法
是否使用memcached server,不想使用关掉即可。

B C D F G H I L M P R S T U

Copyright © 2005-2008 shedewang.com Corp. All Rights Reserved.