Skip to content

kotalr/ConcurrentSoftHashMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

ConcurrentSoftHashMap

Implementation of ConcurrentSoftHashMap.

This is thread-safe Soft reference HashMap.

example of Usage:

import cz.b2b.jcl.util.ConcurrentSoftHashMap;

...

//The number of "hard" references to hold internally.
int hardSize = 100;
private Map<String, Object> CACHE = new ConcurrentSoftHashMap<>(hardSize);
CACHE.put("first", new ArrayList());

Releases

No releases published

Packages

No packages published

Languages