Java 7 concurrency cookbook
""Java 7 Concurrency Cookbook"" is a practical Cookbook packed with real-world solutions. Intermediate?advanced level Java developers will learn from task-based recipes to use Java?s concurrent API to program thread safe solutions. If you are a Java developer who wants to take yo...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Pub
2012.
|
Colección: | EBSCO Academic eBook Collection Complete.
|
Acceso en línea: | Conectar con la versión electrónica |
Ver en Universidad de Navarra: | https://innopac.unav.es/record=b30905308*spi |
Tabla de Contenidos:
- Java 7 Concurrency Cookbook; Java 7 Concurrency Cookbook; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Instant Updates on New Packt Books; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Thread Management; Introduction; Creating and running a thread; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also.
- Getting and setting thread informationGetting ready; How to do it ... ; How it works ... ; There's more ... ; See Also; Interrupting a thread; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Controlling the interruption of a thread; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Sleeping and resuming a thread; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Waiting for the finalization of a thread; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Creating and running a daemon thread; Getting ready; How to do it ...
- How it works ... There's more ... ; Processing uncontrolled exceptions in a thread; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Using local thread variables; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Grouping threads into a group; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Processing uncontrolled exceptions in a group of threads; Getting ready; How to do it ... ; How it works ... ; See also; Creating threads through a factory; Getting ready; How to do it ... ; How it works ... ; See also; 2. Basic Thread Synchronization.
- IntroductionSynchronizing a method; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Arranging independent attributes in synchronized classes; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Using conditions in synchronized code; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Synchronizing a block of code with a Lock; Getting Ready ... ; How to do it ... ; How it works ... ; There's more ... ; More Info; See also; Synchronizing data access with read/write locks; Getting Ready ... ; How to do it ... ; How it works ... ; See also.
- Modifying Lock fairnessGetting Ready ... ; How to do it ... ; How it works ... ; There's more ... ; See also; Using multiple conditions in a Lock; Getting Ready ... ; How to do it ... ; How it works ... ; There's more ... ; See also; 3. Thread Synchronization Utilities; Introduction; Controlling concurrent access to a resource; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Fairness in semaphores; See also; Controlling concurrent access to multiple copies of a resource; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Waiting for multiple concurrent events.