2 Replies Latest reply on Jan 7, 2014 2:35 PM by Sanne Grinovero

    Basic question about modification to existing entry / dirty flag

    Alfie Kirkpatrick Newbie

      In our use case, we'll be retrieving objects from the cache and putting them through a pipeline process. The object graph for each entry is moderately complex, and the entry may be modified at various points in the pipeline.

       

      I'm assuming (for a distributed / store backed cache) that modified objects have to be "re-supplied" to the cache after modification. That's my first question.

       

      Does anyone have a recommended pattern for achieving this in practice? I'm a bit loath to implement 'isDirty' semantics in my object(s).

       

      Thanks, Alfie.