No, there is nothing like that, except for the shared EC that Ramsey mentioned.
Chuck On 2015-03-02, 1:39 AM, "OC" wrote: Hello there, is there an object whose _instance_ (not just value like it seems to be with the global ID) would consistently represent one EO, regardless the EC in which the EO just happens to be? I would need to lock on an EO, but I would need that it worked over all ECs, i.e. === synchronized (eo) { // no two threads would get there with same EO // _not even if the EO is in different ECs_ // which is why 'synchronized (eo)' does not work } === Of course, I could make a thread-safe map, insert lock objects there and use globalids for index, but it seems to me rather convoluted -- not speaking of that I would not really know when to flush the data (unless I override EOs finalize, ick...) Isn't there a better solution? Thanks a lot, OC _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com This email sent to ch...@gevityinc.com<mailto:ch...@gevityinc.com>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com