1 Reply Latest reply on Nov 9, 2006 11:09 AM by Brian Stansberry

    TreeCache Multiple Values with Same key is it possible ?

    Saho Malo Newbie

      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