Please check my design is reasonable? #6974
Unanswered
jokemanfire
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my design demon , any one can see my design is reasonable???
Because , I will encounter the hashmap change in any threads. But some threads only need read , the object pointed to by hashmap may be mutable or immutable, so hashmap objects are added with read-write locks. I hope to obtain hashmaps with a shorter lifecycle, while the lifecycle of the objects pointed to by hashmaps may be longer.
Beta Was this translation helpful? Give feedback.
All reactions