
ru.saidgajiev.ormnext.cache.ReferenceObjectCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ormnext-cache Show documentation
Show all versions of ormnext-cache Show documentation
Library which contains implementations Ormnext cache
The newest version!
package ru.saidgajiev.ormnext.cache;
import ru.saidgadjiev.ormnext.core.cache.ObjectCache;
import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
/**
* This cache implementation use {@link SoftReference} for cached values.
*
* @author Said Gadjiev
*/
public class ReferenceObjectCache implements ObjectCache {
/**
* Map for cache values.
*/
private Map, Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy