- 博客(3)
- 收藏
- 关注
Hazelcast集成Spring,解析hazelcast定义出错
在Spring中定义Hazelcast配置: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/c...
2015-05-25 17:18:26
382
原创 Batching Select Statements in JDBC
In networking, one of the most expensive things you can do is make a server roundtrip. In JDBC, this corresponds to a database call. If you are doing inserts, updates or deletes, you can use the exec...
2015-03-09 16:15:07
140
延时事件轮询方案
[b]需求:[/b] 策略类游戏中,后台自动实时结算战斗等延时事件。 特征:用户提交延时事件,后台需要在延时事件时间到时立刻执行事件。 分析: [b]一:扫描策略[/b] (1) 时间步长,查找范围(lastTime, lastTime + stepTime], 通过控制stepTime大小来限制数据量。 优点: 用时间戳当边界,简单易实现 缺点: 当延时事件...
2012-12-08 13:57:06
330
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人