0 Replies Latest reply: Apr 2, 2013 7:46 AM by 1000512 RSS

    Best Strategy to implement Functor pattern with Filter

    1000512
      Hi,

      We have around 1 million Objects for e.g. Master each Master have 10 associated slaves (Collocated to Master), each slave needs some operations to be performed on it, each operation on slave modifies the state of Master, when all the slaves are operated/enriched, we need the master to raise and event and its state to be written to database and Master along with slave needs to be removed from cache.

      There are 10 different operations each corresponding to a slave, we want these to be run in parallel using functor pattern, we need to filter the cache on Slave type and
      run a functor for each slave type for all slaves, each execution should update slave and master. Kindly provide your feedback on the best approach for the same.


      Regards
      Jay

      Edited by: 997509 on Apr 2, 2013 5:46 AM