资源描述:
《Concurrent Programming in Java Design Principles and Pattern.Addison.Wesley》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ConcurrentProgramminginJava™:DesignPrinciplesandPatterns,SecondEditionByDougLeaPublisher:AddisonWesleyPubDate:October01,1999ISBN:0-201-31009-0Pages:432InConcurrentProgramminginJava,SecondEdition,youwillfindthoroughlyupdatedcoverageoftheJava2platformand
2、neworexpandedcoverageof:•Memorymodel•Cancellation•Portableparallelprogramming•UtilityclassesforconcurrencycontrolTheJavaplatformprovidesabroadandpowerfulsetofAPIs,tools,andtechnologies.Oneofitsmostpowerfulcapabilitiesisthebuilt-insupportforthreads.This
3、makesconcurrentprogramminganattractiveyetchallengingoptionforprogrammersusingtheJavaprogramminglanguage.ThisbookshowsreadershowtousetheJavaplatform'sthreadingmodelmorepreciselybyhelpingthemtounderstandthepatternsandtradeoffsassociatedwithconcurrentprog
4、ramming.Youwilllearnhowtoinitiate,control,andcoordinateconcurrentactivitiesusingtheclassjava.lang.Thread,thekeywordssynchronizedandvolatile,andthemethodswait,notify,andnotifyAll.Inaddition,youwillfinddetailedcoverageofallaspectsofconcurrentprogramming,
5、includingsuchtopicsasconfinementandsynchronization,deadlocksandconflicts,state-dependentactioncontrol,asynchronousmessagepassingandcontrolflow,coordinatedinteraction,andstructuringweb-basedandcomputationalservices.Thebooktargetsintermediatetoadvancedpr
6、ogrammersinterestedinmasteringthecomplexitiesofconcurrentprogramming.Takingadesignpatternapproach,thebookoffersstandarddesigntechniquesforcreatingandimplementingcomponentsthatsolvecommonconcurrentprogrammingchallenges.Thenumerouscodeexamplesthroughouth
7、elpclarifythesubtletiesoftheconcurrentprogrammingconceptsdiscussed.CopyrightAcknowledgmentsChapter1.ConcurrentObject-OrientedProgrammingSection1.1.UsingConcurrencyConstructsSection1.2.ObjectsandConcurrencySection1.3.DesignForcesSection1.4.Before/AfterP
8、atternsChapter2.ExclusionSection2.1.ImmutabilitySection2.2.SynchronizationSection2.3.ConfinementSection2.4.StructuringandRefactoringClassesSection2.5.UsingLockUtilitiesChapter3.StateDependenceSection3.1.DealingwithFailureSection3.2.Guar