7 Replies Latest reply on Jun 4, 2012 7:12 AM by Galder Zamarreño

    How to implement a cache "loader"?

    Julio Faerman Novice

      I would like to use infinispan to cache data aggregated from several systems, for a example in a medical system, cache the patient history (system a), images (system b) and billing (system c), etc...

       

      I would like that, on a cache miss, infinispan loads this data using a "loader" class i would write, to find and build the aggregated document (value) for a given key.

       

      Is there such a feature? How should i implement such a thing?