Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.38 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.38 KB

concurrent-reference-hash-map

Build status Maven Central

ConcurrentReferenceHashMap from hazelcast re-packaged as a single dependency-free JAR. Released under the same license as the original hazelcast code: Apache 2.

Usage

libraryDependencies += "io.github.alexarchambault" % "concurrent-reference-hash-map" % "1.1.0"

The latest version is Maven Central.

Use it in your code like

import concurrentrefhashmap.ConcurrentReferenceHashMap
val map = new ConcurrentReferenceHashMap[String, (Int, Int)](
  16,
  ConcurrentReferenceHashMap.ReferenceType.WEAK,
  ConcurrentReferenceHashMap.ReferenceType.WEAK
)