ehcache persist to disk issues

后端 未结 8 1754
你的背包
你的背包 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条回答
  •  -上瘾入骨i
    2020-12-23 15:01

    this might be a little late but i had the same problem: what helped was to shutdown the cache manager.

    (from the docu: http://ehcache.org/documentation/code-samples#ways-of-loading-cache-configuration)

    Shutdown the singleton CacheManager:

    CacheManager.getInstance().shutdown();
    

    Shutdown a CacheManager instance, assuming you have a reference to the CacheManager called :

    manager.shutdown();
    

提交回复
热议问题