Hi,
So, JBoss 1.4.1. Cache 1.4.1sp1 with fileCacheLoader 

When I do the following 


  |     final static Fqn TEST = Fqn.fromString("/test/kuku");
  |     int id = 555'
  | 
  |     putObject("/test/kuku/+id, myObject);
  | 
  | ...
  | 
  |    Map aMap = findObjects("/test/kuku");
  |    Set aSet  = getChildrenNames("/test/kuku");
  | 
  | 

I get one object back both in the map and set

BUT When I do the following 


  |     final static Fqn TEST = Fqn.fromString("/test/kuku");
  |     Integer id = 555'
  | 
  |     putObject(new Fqn(TEST , id ), myObject);
  | 
  | ...
  | 
  |    Map aMap = findObjects(TEST );
  |    Set aSet  = getChildrenNames(TEST );
  | 
  | 


I get two identical  Myobject  in the map and  in the set also 
one is by a string and the second is by an Integer

Ideas?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013165
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to