ehcache persist to disk issues
问题 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... Write a value to a disk persistent cache. Shut down. Start up again and read that value. Here is my Java function: private static void testCacheWrite() { // create the cache manager from our configuration URL url = TestBed.class.getClass().getResource("/resource/ehcache.xml"); CacheManager manager = CacheManager.create(url); // check to see if our