You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/09 04:38:00 UTC

[jira] [Updated] (TUBEMQ-44) Remove unnecessary synchronized definition of shutdown () function

     [ https://issues.apache.org/jira/browse/TUBEMQ-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated TUBEMQ-44:
---------------------------------
    Labels: pull-request-available  (was: )

> Remove unnecessary synchronized definition of shutdown () function
> ------------------------------------------------------------------
>
>                 Key: TUBEMQ-44
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-44
>             Project: Apache TubeMQ
>          Issue Type: Improvement
>            Reporter: Guocheng Zhang
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 0.3.0
>
>         Attachments: image-2020-03-09-11-38-47-944.png, image-2020-03-09-11-39-50-670.png
>
>
> In the shutdown () of TubeSingleSessionFactory and SimpleMessageProducer, the assignment has been compared through the AtomicBoolean variable to avoid repeated releases. This definition is redundant.
>  
> !image-2020-03-09-11-38-47-944.png!
> !image-2020-03-09-11-39-50-670.png!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)