1 Reply Latest reply on May 3, 2005 2:20 PM by jason1

    cache invalidation by program (no cluster)

    jinx

      hello
      I have an application who need to do massive update on data (more than 2 or 3 thousand records can be updated), i plan to use JDBC to achieve this but
      i have to find a way to invalidate the Instance Cache if this one is used (with commit option A by example ) .

      Does anyone have a solution for managing a cache invalidation by a programatic way ?

      Thanks

      Jinx

        • 1. Re: cache invalidation by program (no cluster)

          jboss.cache:service=InvalidationManager

          Get this MBean for each JBoss Server w/ a cache and call it's
          invalidateAll() method. For fine-grained invalidation, (which sounds like you don't want!) look at at batchInvalidate() method.