Skip to Main Content
Java 8 in Action
book

Java 8 in Action

by Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma
August 2014
Intermediate to advanced content levelIntermediate to advanced
424 pages
13h 50m
English
Manning Publications
Content preview from Java 8 in Action

Chapter 7. Parallel data processing and performance

This chapter covers

  • Processing data in parallel with parallel streams
  • Performance analysis of parallel streams
  • The fork/join framework
  • Splitting a stream of data using a Spliterator

In the last three chapters, you’ve seen how the new Stream interface lets you manipulate collections of data in a declarative way. We also explained that the shift from external to internal iteration enables the native Java library to gain control over processing the elements of a stream. This approach relieves Java developers from explicitly implementing optimizations necessary to speed up the processing of collections of data. By far the most important benefit is the possibility of executing a pipeline ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java 8 Lambdas and Streams

Java 8 Lambdas and Streams

Madhusudhan Konda
Modern Java in Action

Modern Java in Action

Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
Java 8 Lambdas

Java 8 Lambdas

Richard Warburton

Publisher Resources

ISBN: 9781617291999Supplemental ContentPublisher SupportOtherPublisher WebsiteErrata PageSupplemental ContentPurchase Link