-
Your tone doesn't come across as particularly friendly, but that's probably partly a language issue.
I've never used any CacheEventListeners, but looking at [the manual][1], [the Javadoc][2], and [the code][3], it looks like you're doing everything right except for one step. If you construct your own RegisteredEventListeners object rather than getting one from the cache via...
2009-09-17 13:36:28 UTC in ehcache
-
Not sure. I think it's always failed pretty fast for me (rather than appearing to work), but I guess you never know when dealing with a corrupted data file.
Good point on the EOFException. I hadn't realized that the DiskStore wasn't rethrowing it. That definitely makes the problem harder to deal with...
2009-09-16 18:25:07 UTC in ehcache
-
I echo alphabravo (sorry - silly joke). A lot of things can go wrong with the DiskStore files on an unclean shutdown. See this [other discussion][1].
By the way, a follow-up question for you ehcache experts out there: If you've been good and set up your code to use CacheManager.shutdown(), but you experience a hard crash, is there a good way to deal with the resulting problems? Should I...
2009-09-16 13:08:03 UTC in ehcache
-
Join the club. :) I emailed the first patch I created to Greg before noticing the patch section in the tracker. By the way, I'm fine with SL4J, but I also appreciate the convenience of having no dependencies - a bit of a toss up.
--Matt.
2009-08-30 04:06:52 UTC in ehcache
-
Great. Thanks! I look forward to building ehcache properly, as opposed to hackily. :)
--Matt.
2009-08-24 03:59:19 UTC in ehcache
-
Hi Greg,
The page you referenced still says, "To build Ehcache from source: ... From within the ehcache/core directory, type ant".
Now that you (and others from Terracotta) will have more time to work on Ehcache, is there a chance the build instructions will be updated? The two times I've submitted patches, I've had to comment-out parts of the pom to get the build to complete...
2009-08-20 21:04:28 UTC in ehcache
-
Done. It's 2840648. I'm very glad that it'll have a chance to make it in.
--Matt.
2009-08-20 02:38:52 UTC in ehcache
-
I added patch 2840648 to fix this.
https://sourceforge.net/tracker/?func=detail&aid=2840648&group_id=93232&atid=603561.
2009-08-19 22:37:18 UTC in ehcache
-
I was happy to see that some concurrency problems in DiskStore were fixed in 1.6.1, but upon upgrading from 1.6, I noticed a rather important breaking change. DiskStore v1.6.1 expects to find a ConcurrentHashMap on the ObjectInputStream, but it looks like DiskStore v1.6 wrote out a java.util.Collections$SynchronizedMap. I think a minor change could be made around line 874 of DiskStore to just...
2009-08-19 14:49:53 UTC in ehcache
-
> I was a little dismayed by the new LRU algorithm (using 30 samples with map-walking). I'm
> sure there's a way of creating a concurrent LRU mapper, taking the best of the old
> LinkedHashMap + LRU v.s. the new ConcurrentHashMap, but this might be littered with bugs,
I'll let Greg respond to your other ideas, but for this last one, I'd suggest looking at and perhaps contributing...
2009-07-08 18:23:36 UTC in ehcache