我要用OSCache缓存10w条数据在硬盘中,可是OSCache在硬盘中缓存了16000多条数据后就不再缓存后面的数据了。
不知道是什么原因,大家帮我下啊。
oscache.properties中的属性cache.unlimited.disk和cache.capacity都是默认的

【求教】用OSCache缓存10w条数据
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- lovezqw 2008-10-06 09:39关注
cache.unlimited.disk
Indicates whether the disk cache should be treated as unlimited or not. The default value is false. In this case, the disk cache capacity will be equal to the memory cache capacity set by cache.capacity.你用的是默认false的当然不行了 16000多条应该是你的cache.capacity限制的.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报