You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/04/24 15:41:35 UTC

[GitHub] [rocketmq] dugenkui03 commented on pull request #4093: [ISSUE #4077]Supply thread safe view for Message.

dugenkui03 commented on PR #4093:
URL: https://github.com/apache/rocketmq/pull/4093#issuecomment-1107865912

   > is there any usage scenarios?
   
   Similar to `Collections.unmodifiable`,  this pr is aim to provide thread-safe view for the convenience of using `Message` concurrent application.
   
   #### Describe in Chinese
   当前情况是只要开发者需要在并发环境下修改`Message`、尤其是`properties`,就要自定义一套加锁策略。
   
   该PR类似 `Collections.unmodifiable`,目的是给`Message`提供线程安全的视图、方便用户在并发环境中修改Message。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org