Archived
This forum has been archived. Please start a new discussion on GitHub.
Adding To Evictor Enough To Save
Hi,
Am I guaranteed that adding an object to a freeze evictor will force the object to get written? Are there any cases where I have to add the object to the evictor and THEN call a mutating operation to guarantee the write? Has anything changed in this between 2.1.2 and 3.0.1?
Thanks as always,
Am I guaranteed that adding an object to a freeze evictor will force the object to get written? Are there any cases where I have to add the object to the evictor and THEN call a mutating operation to guarantee the write? Has anything changed in this between 2.1.2 and 3.0.1?
Thanks as always,
0
Comments
-
Hi Andrew,
Adding a servant to the Freeze Evictor adds this object to the "modified list": it will be saved with the other objects on that list by the saving thread.
You don't need to update a new object to put it on that list. This behavior did not change between 2.1.x and 3.0.x.
Cheers,
Bernard0 -
Thanks
Thanks for the info.0