parallel stream

A parallel stream is a stream that is capable of processing results concurrently, using multiple threads.
By default, the number of threads available in a parallel stream is related to the number of available CPUs in your environment. In order to increase the thread count, you would need to create your own custom class.