Ok. I got this SharedStoreCacheLoader, but I have little problems with using 
it. It has strange constructor, so it cannot be plugged directly by using XML 
conf file. Any help with this, please?


Next thing:
about shared cache loader.

Correct me if my assumptions are wrong:
-I want to have shared DB
-want to use lazy loading (my custom implementation) from DB
-so I start cache with several nodes
-aop tree is empty
-tree.getObject("/customers/first");
-after that, the tree has one element, loaded with my custom: Map get(Fqn fqn) 
method
-I _thought_ from now on, in case every _other_ node wants "/customers/first" 
it will be given by cache
     -but: from other nodes method: Map get(Fqn) is still executed. So, 
basically: there is no cache ? :/

Here is my configuration:
-FetchStateOnStartup: TRUE

-CacheLoader: MyCustomLoader
-CacheLoaderShared: TRUE
-CacheLoaderPreload: empty -because I want to lazy load all data
-CacheLoaderFetchTransientState: TRUE
-CacheLoaderFetchPersistenceState: FALSE

I think sth might be wrong with implementation of my CacheLoader. Because I 
think FileBased and Bdbje work correct.

Any comment?

T.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855874#3855874

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855874


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to