Skip to content

coursier/concurrent-reference-hash-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
)