jeudi 14 septembre 2017

Java concurrency framework to be used for thread chain and thread parrelel and concurrent execution

Problem statement : 1. current scenario: Project is implemented with threads and they are sharing common component global object 2. Need to implement solution which Can start/stop threads through configuration 3. Can chain threads 4. Can execute threads in concurrent/parallel

I have had tried many frameworks like executor, quartz, producer/consumer etc. But not able to finalize which one to be used. Is there any design pattern in java for the above solution.

Aucun commentaire:

Enregistrer un commentaire