[
https://issues.apache.org/jira/browse/UIMA-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lev Kozakov updated UIMA-1259:
------------------------------
Attachment: uima-1259_uima_as_core.patch
Added synchronization and replaced deprecated Integer.parseInt() with
Long.valueOf() in all get...() methods returning long values.
> Service MBean methods for accessing UIMA-CPP JMX statistics need to be
> synchronized
> -----------------------------------------------------------------------------------
>
> Key: UIMA-1259
> URL: https://issues.apache.org/jira/browse/UIMA-1259
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Lev Kozakov
> Attachments: uima-1259_uima_as_core.patch
>
>
> The org.apache.uima.aae.controller.UimacppServiceManagement class implements
> the service MBean, which reports JMX statistics of UIMA-CPP engines. Some of
> the 'get...()' methods of this class modify the state of the class instance,
> other 'get...()' methods access modified instance variables. To ensure proper
> access to JMX statistics of UIMA-CPP engines, all the 'get...()' methods of
> this class need to be synchronized.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.