Ehcache 3x xml configuration issue

76 views
Skip to first unread message

vijay ratan singh

unread,
Oct 10, 2024, 2:35:05 AM10/10/24
to ehcache-users
Dear warriors
I am migrating my project from ehcache 2.10 to ehcache 3.9
while changes in xml configuration file
ehcache-2.6.x-documentation.pdf

"it is mentioned that 
Files are created in the directory specified by the configuration element. The element is has one attribute called path." 
<diskStore path="/path/to/store/data"/>

now in ehcache 3x we have
 <persistence> element

<persistence> element represents Persistence, to be used when creating a PersistentCacheManager. It requires the directory location where data needs be stored on disk.

Now can somebody please suggest me what will be the latest path attribute if diskstore is replaced with persistence? 



Reply all
Reply to author
Forward
0 new messages