Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
This patch contains an implementation of the WorkManager spi. This implementation delegates the submitted work to three distinct executors - one for each synchronization policy. Each executor is a thread pool based on the Doug Lea's PooledExecutor.
The WorkManager and its WorkExecutors are MBeans and are deployed via the WorkManagement-service.xml file.
During the execution of a work, the WorkListener provided during a the work submission is duly notified.
A test case yielding the three distinct synchronization policy is also provided. This test case uses the WorkListener notifications in order to introspect the status of submitted works.
Gianny