This content has been marked as final.
Show 1 reply
-
1. Re: cache loader which saves only on shutdown
manik Dec 21, 2006 8:41 PM (in response to hontvari)... but restarting both processes nearly at the same time shouldn't empty the cache.
This is precisely why you'd use a cache loader.
Can I configure a cache loader so that it doesn't save cached objects every time there is a put or remove, but only during shutdown?
Nothing of the sort at the moment; if you feel like writing one (a delegating cache loader which also implements a cache listener, and then delegates to a configured underlying cache loader), feel free to contribute it back. :-)