Package fr.gouv.vitam.common.cache
Class AbstractVitamCache<T,V>
- java.lang.Object
-
- fr.gouv.vitam.common.cache.AbstractVitamCache<T,V>
-
- All Implemented Interfaces:
VitamCache<T,V>
- Direct Known Subclasses:
GraphComputeCache
public abstract class AbstractVitamCache<T,V> extends java.lang.Object implements VitamCache<T,V>
Abstract vitam cache
-
-
Constructor Summary
Constructors Constructor Description AbstractVitamCache()
AbstractVitamCache(boolean enableStats, int concurrencyLevel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.google.common.cache.LoadingCache<T,V>
getCache()
protected abstract V
loadByKey(T key)
protected abstract java.util.Map<T,V>
loadByKeys(java.lang.Iterable<? extends T> keys)
-