• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MultiECLockManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MultiECLockManager


  • Subject: Re: MultiECLockManager
  • From: David LeBer <email@hidden>
  • Date: Fri, 18 Nov 2005 14:29:52 -0500

On 18-Nov-05, at 2:18 PM, Marcos Trejo Munguia wrote:

Hi Chuck.

I was wondering if I have to use the MultiECLockManager in all my application or I can be selective?, I don't know if being selective can cause me problems (more deadlocks).

You don't *have* to do anything :-)

MECLM is an implementation of a generic pattern for managing the locking of multiple ECs.

If you don't use multiple ECs in your application then you won't need the MECLM (ie: only use the Session.defaultEditingContext()).

Alternately, there are alternatives:

You could use ERXEC from ProjectWonder, or you could roll your own, or you could lock all of your ECs where and as you use them - with the caveats raised in Chucks book.

Finally, if you aren't using a Session in your application then the MECLM is not the right choice.

The choice is yours.

--
;david

--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site:   http://www.codeferous.com
blog: http://david.codeferous.com




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: MultiECLockManager
      • From: Marcos Trejo Munguia <email@hidden>
References: 
 >MultiECLockManager (From: Marcos Trejo Munguia <email@hidden>)

  • Prev by Date: Re: SharedEditingContext Write Locks?
  • Next by Date: Re: SharedEditingContext Write Locks?
  • Previous by thread: MultiECLockManager
  • Next by thread: Re: MultiECLockManager
  • Index(es):
    • Date
    • Thread