[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

nnnnn do-not-reply at jboss.com
Thu Dec 6 16:58:36 EST 2007


"lovelyliatroim" wrote : 
  | anonymous wrote : 
  |   | From your description, it sounds like you might want to use LOCAL cache mode and a TCPCacheLoader. Have you looked into that?
  |   | 
  | 
  | I have read about it but the thing that i dont want is that when you add an entry into one of the nodes, it will replicate the entry straight away into the cache loader(I assume,i havent played with it yet,maybe you can turn this off). I only want to replicate data on demand, i.e if someone asks for data on a node and it aint there, ask the others in the cluster first if they have,if not then got to source. if i add an entry in a node i dont want to push it somewhere else, it just sits on that node until someone else asks for it. 
  | 

I believe that CacheLoaders can be configured with:

  | <!--  determines whether this cache loader ignores writes - defaults to false. --> 
  | <ignoreModifications>true</ignoreModifications> 
  | 
in order to have the CacheLoader read-only.  I haven't actually tried that behavior, so I can't be sure that I'm interpreting it correctly.  Maybe one of the jbosscache guys can configrm.

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

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



More information about the jboss-user mailing list