This content has been marked as final.
Show 6 replies
-
1. Re: Regarding Custom Cache Loader Implementation
genman Aug 21, 2007 12:33 PM (in response to nan2k_sweety)
I believe there is a configuration setting that makes the cache load the state at startup. -
2. Re: Regarding Custom Cache Loader Implementation
manik Aug 22, 2007 10:41 AM (in response to nan2k_sweety)Yes, look at your fetchPersistentState configuration setting when defining the cache loader.
-
3. Re: Regarding Custom Cache Loader Implementation
nan2k_sweety Aug 23, 2007 1:34 AM (in response to nan2k_sweety)Hi Manik,
We have set the FetchPersistentState flag to true. But still the loadStateFromFileSystem() of our custom cache loader is not getting invoked.
Regards
Nandhini -
4. Re: Regarding Custom Cache Loader Implementation
manik Aug 23, 2007 10:46 AM (in response to nan2k_sweety)How did you write your custom cache loader? Did you extend o.j.c.loader.FileCacheLoader? Or AbstractCacheLoader? Or did you implement the CacheLoader interface directly?
-
5. Re: Regarding Custom Cache Loader Implementation
nan2k_sweety Aug 23, 2007 10:29 PM (in response to nan2k_sweety)Hi Manik,
We extended the FileCacheLoader.
Regards
Nandhini -
6. Re: Regarding Custom Cache Loader Implementation
manik Aug 26, 2007 7:47 PM (in response to nan2k_sweety)Have you tried stepping through the calls in a debugger when your cache starts up? I'd put breakpoints in loadState and loadEntireState.