logo       

Re: Inaccurate active session count in JavaMonitor (Solved): msg#00097

webobjects-deploy

Subject: 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" <chill@xxxxxxxxxxxxxxxxxx>
To: "Cheong Hee (Gmail)" <chng34@xxxxxxxxx>
Cc: <webobjects-deploy@xxxxxxxxxxxxxxx>
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 (Webobjects-deploy@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise