Skip to content

Adds large number of files that have numbers in them all in parallel and them computes their total. JDK 5 Concurrency Executor Used.Immutability Pattern used. Atomic Integer used for Shared access. Factory pattern used for doling out instances safely via synchronization.

Notifications You must be signed in to change notification settings

FreeFries/Process-Data-In-Files-In-Parallel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TuiTest2 - Use Case for the new Executor Service instead of vanilla threads.

Adds large number of files that have numbers in them all in parallel and them computes their total. JDK 5 Concurrency Executor Used.Immutability Pattern used. Atomic Integer used for Shared access. Factory pattern used for doling out instances safely via synchronization.

To run this demo use the main method of FileSumUp.java

The input files are all provided in the "/tui_data/" folder which is part of this repository

About

Adds large number of files that have numbers in them all in parallel and them computes their total. JDK 5 Concurrency Executor Used.Immutability Pattern used. Atomic Integer used for Shared access. Factory pattern used for doling out instances safely via synchronization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages