fpj / zookeeper-book-example

This is a code example that complements the material in the ZooKeeper O'Reilly book.
Apache License 2.0
399 stars 250 forks source link

[question] why ConcurrentHashMap in Client.java #3

Open kesihai opened 4 years ago

kesihai commented 4 years ago

Hi, This is a useful repo for zk study, while reading the code, I am curious why use ConcurrentHashMap in Client.java, is HashMap enough ?