2 Replies Latest reply on Mar 2, 2005 10:19 AM by fredatwork

    Mass removal of objects in cache

    fredatwork Newbie


      I would liek to know if there is a way to remove objects from an AOP cache "massively".

      Let's say I entered several objects in an AOP cache :

      cache.putObject("/root/1", object1);
      cache.putObject("/root/2", object2);
      cache.putObject("/root/999", object999);

      Now I would like to remove all objects under the "/root" frq in a single call, like I want to reinitialize my cache. Any idea how should I do this ?