Menu

#3 Property add events gets reported twice

open
nobody
None
5
2008-02-21
2008-02-21
Anonymous
No

If one adds an added(String propName) method to a PimpObject sub-class, it seems that this method gets called twice for each property that gets added to the object. The reason is probably that since PIMP adds two PART properties to the corresponding ShadowObject, and then uses the shadow object's replicaUpdateCb method to catch property updates, the added() method is called once per PART property added.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB