I'm using Eh-cache for core_java Project which deals on Threads. I want to store the elements to diskStore, if overflow happens. For that I've to mention external file system(to store elements). How to configure in ehcache.xml to a file-system. Can anybody please send the ehcache.xml which contains all configurable attributes. By default it takes the path like C:\Users\Admin\AppData\Local\Temp. I want to store those overflowed cache elements in D:/users/etc.,
I'm storing information in cache like this,
When thread created with a name like Tfirst, Tsecond etc., I put all information for that particular thread in cache with key as Thread name and value as list(Which contains all information about that thread). How to retrieve/get those(one by one/randomly) cached objects from the cache?