Bug 536143 (RHQ-525)

Summary: write generic framework for executing abstract services concurrently, but which respects service dependencies
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: PerformanceAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-525
Whiteboard:
Fixed In Version: 1.0.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 536144    

Description Joseph Marques 2008-05-29 16:24:00 UTC
this is likely going to be a thin wrapper around latches from the java.util.concurrent lib, but which simplifies the programming interface for the developer that wants to enable conconcurrent, latched execution of services.

Comment 1 Joseph Marques 2008-05-29 16:32:41 UTC
rev883 - controller framework for executing services concurrently which respects service dependencies; 
service dependencies need to be contructed properly by the calling context; 
handles errors by bubbling it up the dependency chain and won't attempt to execute services whose dependencies have already failed; 

Comment 2 Joseph Marques 2008-05-29 23:43:08 UTC
rev889 - add checked against circular dependencies amongst latched services; 
without this check, executeServices would have blocked forever since all services would block on their private dependencyLatch forever; 
all wrote test harness to make sure circular check works properly against all different sorts of dependency graphs, including self-circularities; 

Comment 3 Joseph Marques 2008-06-12 17:16:33 UTC
closing this code-level item, no qa necessary.

Comment 4 Red Hat Bugzilla 2009-11-10 21:11:07 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-525