Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将 Hibernate 应用程序的缓存从 EHCache 迁移到 JBoss TreeCache。我正在尝试找到如何配置等效于 maxElementsOnDisk 以限制磁盘上的缓存大小,但我找不到任何类似于在激活钝化的 FileCacheLoader 中配置的东西。
谢谢
此页面似乎暗示正确的配置元素是:
<attribute name="MaxCapacity">20000</attribute>
但是,我自己只使用过 EHCache。
在我正在使用的版本(JBossCache 1.4.1)中,似乎无法配置此参数。