Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.
pablosmedinaPublic archive

About

A thin abstraction layer on top of the Executors framework to simplify common patterns of parallel tasks executions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

executions

An abstraction layer on top of the Executors framework to simplify common patterns of parallel tasks executions

Callable oneSecondTask = ... Callable twoSecondsTask = ... Callable tenSecondsTask = ...

Collection results = Executions.newExecution().withTask(oneSecondTask) .withTask(twoSecondsTask) .withTask(tenSecondsTask) .withTimeout(5,TimeUnit.SECONDS) .withExecutor(Executors.newFixedThreadPool(4)) .execute();

results.size(); //It returns 2

About

A thin abstraction layer on top of the Executors framework to simplify common patterns of parallel tasks executions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages