문제

BAckground: I'm using ehcache as a cache implementation in a Spring 3.1 application. I'm storing large items (files of 100 MB for example) ... I activated the Disk Storage option (overflowToDisk = true ) in ehcache.xml.

My question is : does ehcache load the whole object (large object in my case) in memory or does it stream it from the disk ?

Version of ehcache is 2.5.0

Thank you.

도움이 되었습니까?

해결책

Currently it loads the whole object though we have talked about providing a streaming interface for both entering and retrieving values. Is this something that would interest you?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top