You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/13 12:04:20 UTC

[GitHub] [shardingsphere] menghaoranss commented on issue #12399: A little confusion about code design of `HintManager.getInstance()`

menghaoranss commented on issue #12399:
URL: https://github.com/apache/shardingsphere/issues/12399#issuecomment-918123161


   1. `HintManager` is `AutoCloseable`, When `HintManager` was released normally, `HINT_MANAGER_HOLDER` will be cleared
   2. `Hintmanager` needs to support multi-threaded, so it cannot be designed as a singleton
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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