High-performance Concurrent MultiMap Java/Scala

后端 未结 10 1192
無奈伤痛
無奈伤痛 2020-12-12 15:42

I am looking for a high-performance, concurrent, MultiMap. I have searched everywhere but I simply cannot find a solution that uses the same approach as ConcurrentHashMap (O

10条回答
  •  时光说笑
    2020-12-12 16:13

    Why not wrap ConcurrentHashMap[T,ConcurrentLinkedQueue[U]] with some nice Scala-like methods (e.g. implicit conversion to Iterable or whatever it is that you need, and an update method)?

提交回复
热议问题