Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inaccurate active session count in JavaMonitor (Solved)



To make it easier for all, I attempt to summarize differences as the following:

- in additon to existing way of registering new EC, now it allows creating new EC and register with lock manager with one statement: lockManager.newEditingContext(). Otherwise, the original code will have to create EC first and then call lockManager.registerEditingContext(ec)

- allow flexibility to create new EC with a given parent EOObjectStore. This is a distinguished feature where lock manager extends to construct new EC as compared to only take in EC passing in for registration.

- added isLock() for condition check

Correct me if wrong... Thanks for sharing!!

Cheers

Cheong Hee

----- Original Message ----- From: "Chuck Hill" <email@hidden>
To: "Cheong Hee (Gmail)" <email@hidden>
Cc: <email@hidden>
Sent: Wednesday, July 22, 2009 2:00 PM
Subject: Re: Inaccurate active session count in JavaMonitor (Solved)



I made some changes.  Here is what I am using now.




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/email@hidden

This email sent to email@hidden
References: 
 >Re: Inaccurate active session count in JavaMonitor (From: "Cheong Hee (Gmail)" <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (From: Chuck Hill <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (From: "Cheong Hee (Gmail)" <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (From: Chuck Hill <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (Solved) (From: "Cheong Hee (Gmail)" <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (Solved) (From: Chuck Hill <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (Solved) (From: "Cheong Hee (Gmail)" <email@hidden>)
 >Re: Inaccurate active session count in JavaMonitor (Solved) (From: Chuck Hill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.