ehcache persist to disk issues

后端 未结 8 1650
你的背包
你的背包 2020-12-23 14:30

I want to do something with ehcache in Java that I think should be extremely simple, but I\'ve spent enough time frustrating myself with the docs...

  1. Write a

8条回答
  •  生来不讨喜
    2020-12-23 15:11

    Okay, well what I did to fix this was configure my cache using the configuration file. Here is the updated config:

    
    
        
    
        
    
        
    
    
    

    So basically I didn't use the constructor to define the cache.

    I suppose this will work, but I still wonder why programatically defined caches can't persist on disk (especially since they are still written to disk!).

    Thanks for the comments guys.

提交回复
热议问题