Java Threads and the Concurrency Utilities (eBook)

(Autor)

eBook Download: PDF
2015 | 1st ed.
XVIII, 200 Seiten
Apress (Verlag)
978-1-4842-1700-9 (ISBN)

Lese- und Medienproben

Java Threads and the Concurrency Utilities - Jeff Friesen
Systemvoraussetzungen
46,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
This concise book empowers all Java developers to master the complexity of the Java thread APIs and concurrency utilities. This knowledge aids the Java developer in writing correct and complex performing multithreaded applications.

Java's thread APIs and concurrency utilities are among its most powerful and challenging APIs and language features. Java beginners typically find it very difficult to use these features to write correct multithreaded applications. Threads and the Concurrency Utilities helps all Java developers master and use these capabilities effectively.

This book is divided into two parts of four chapters each. Part 1 focuses on the Thread APIs and Part 2 focuses on the concurrency utilities. In Part 1, you learn about Thread API basics and runnables, synchronization and volatility, waiting and notification, and the additional capabilities of thread groups, thread local variables, and the Timer Framework. In Part 2, you learn about concurrency utilities basics and executors, synchronizers, the Locking Framework, and the additional capabilities of concurrent collections, atomic variables, and the Fork/Join Framework.

Each chapter ends with select exercises designed to challenge your grasp of the chapter's content. An appendix provides the answers to these exercises. A second appendix explores how threads are used by various standard class library APIs. Specifically, you learn about threads in the contexts of Swing, JavaFX, and Java 8's Streams API.

What You Will Learn

• How to do thread runnables, synchronization, volatility, waiting and notification, thread groups, thread local variables, and the Timer Framework
•How to create multithreaded applications that work correctly.
• What are concurrency utilities basics and executors
• What are synchronizers, the Locking Framework, concurrent collections, atomic variables, and the Fork/Join Framework and how to use them
•How to leverage the concurrency utilities to write more complex multithreaded applications and achieve greater performance
• How to apply thread usage in Swing, JavaFX, and Java 8 Streams API contexts

Audience

The primary audience is Java beginners and the secondary audience is more advanced Java developers who have worked with the Thread APIs and the Concurrency Utilities.


Jeff Friesen is a freelance tutor, author, and software developer with an emphasis on Java, Android, and HTML5. In addition to writing this book, Jeff has written other books on Java and Android for Apress, and numerous articles on Java and other technologies for JavaWorld, informIT, java-dot-net, SitePoint, and others.
This concise book empowers all Java developers to master the complexity of the Java thread APIs and concurrency utilities. This knowledge aids the Java developer in writing correct and complex performing multithreaded applications.Java's thread APIs and concurrency utilities are among its most powerful and challenging APIs and language features. Java beginners typically find it very difficult to use these features to write correct multithreaded applications. Threads and the Concurrency Utilities helps all Java developers master and use these capabilities effectively.This book is divided into two parts of four chapters each. Part 1 focuses on the Thread APIs and Part 2 focuses on the concurrency utilities. In Part 1, you learn about Thread API basics and runnables, synchronization and volatility, waiting and notification, and the additional capabilities of thread groups, thread local variables, and the Timer Framework. In Part 2, you learn about concurrency utilities basics and executors, synchronizers, the Locking Framework, and the additional capabilities of concurrent collections, atomic variables, and the Fork/Join Framework.Each chapter ends with select exercises designed to challenge your grasp of the chapter's content. An appendix provides the answers to these exercises. A second appendix explores how threads are used by various standard class library APIs. Specifically, you learn about threads in the contexts of Swing, JavaFX, and Java 8's Streams API.What You Will Learn* How to do thread runnables, synchronization, volatility, waiting and notification, thread groups, thread local variables, and the Timer Framework* How to create multithreaded applications that work correctly.* What are concurrency utilities basics and executors* What are synchronizers, the Locking Framework, concurrent collections, atomic variables, and the Fork/Join Framework and how to use them* How to leverage the concurrency utilities to write more complex multithreaded applications and achieve greater performance* How to apply thread usage in Swing, JavaFX, and Java 8 Streams API contextsAudienceThe primary audience is Java beginners and the secondary audience is more advanced Java developers who have worked with the Thread APIs and the Concurrency Utilities.

Jeff Friesen is a freelance tutor, author, and software developer with an emphasis on Java, Android, and HTML5. In addition to writing this book, Jeff has written other books on Java and Android for Apress, and numerous articles on Java and other technologies for JavaWorld, informIT, java-dot-net, SitePoint, and others.

Chapter 1: Threads and
Runnables

Chapter 2: Thread
Synchronization and Volatility

Chapter 3: Waiting and Notification

Chapter 4: Additional Thread
Capabilities

Chapter 5: Concurrency
Utilities and Executors

Chapter 6: Synchronizers

Chapter 7: The Locking
Framework

Chapter 8: Additional
Concurrency Utilities

Appendix A: Answers to
Exercises

Appendix B: Threads and the
Standard Class Library

 

Notes:

 

1) Chapter 4 covers thread
groups, thread-local variables, and the Timer Framework.

2) Chapter 8 covers concurrent
collections, atomic variables, and the Fork/Join Framework.

 

Total page count estimate: 300
pages

Erscheint lt. Verlag 16.12.2015
Zusatzinfo XVIII, 200 p. 5 illus.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Software Entwicklung
Schlagworte Concurrency • Java • programming • Software engineering • Synchronization • Threads • Utilities
ISBN-10 1-4842-1700-4 / 1484217004
ISBN-13 978-1-4842-1700-9 / 9781484217009
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 1,7 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Moderne GUIs für RIAs und Java-Applikationen

von Ralph Steyer

eBook Download (2022)
Springer Fachmedien Wiesbaden (Verlag)
42,99