8 Replies Latest reply on Jul 6, 2012 11:37 AM by dex chen

    how to retrieve a given number of cache entries in batch

    dex chen Novice

      I stored data in infinispan cache store, and need a way to retrieve a set of data in batch. In other words, I am looking for functionality like paging or select with given filters/crieria.

       

      For example,  List<CacheData> list = cache.get(first_100);

                          or List<CacheData> list = cache.get(older then 1 days);

       

      I know this might be invalid or different for differen configuration (DIST, REPL).

       

      Any idea and sugestions.