[jboss-user] [JBossCache] - TreeCache Multiple Values with Same key is it possible ?

saho do-not-reply at jboss.com
Thu Nov 9 10:46:37 EST 2006


Hi everybody, 
I have started to use the TreeCache and not found a method to get the "values " of one Key. I don't found any getfunction to get many values of one key.
I have to create separated nodes, if the keys are the same ? 

Here one example:

tCache.put(new Fqn(new Object[] {"a","b"}),"LAGO","value1");
tCache.put(new Fqn(new Object[] {"a","b"}),"LAGO","value2");
tCache.put(new Fqn(new Object[] {"a","b"}),"LAGO","value3");

after if i call
tCache.get("/a/b", "LAGO");
i get  only ?value3?.
Is value1 and value2 overwritten ?

Thanks
for any help


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

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



More information about the jboss-user mailing list