Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently, there is no way to determine how long it takes to initialize components in the UIMA aggregate. The framework JMX management interface needs to be extended to expose state of a component (Initializing, Ready), ID of a thread initializing the component, as well as the total time spent in initialization. These new stats can facilitate debugging of user code to pinpoint hangs and components that are slow to initialize. Changes are needed in the following:
1) AnalysisEngineManagement - extend AE Management interface
2) AnalysisEngineManagementImpl - implement new API defined in the above interface
3) AnalysisEngineManagementImplMBean - expose new APIs via JMX
4) UIMAFramework - modify all produceAnalysisEngine() methods to set AE state to Ready after successful call to produceResource() and set the totaltime to initialize AE