Class GraphComputeCache
- java.lang.Object
-
- fr.gouv.vitam.common.cache.AbstractVitamCache<java.lang.String,org.bson.Document>
-
- fr.gouv.vitam.metadata.core.graph.GraphComputeCache
-
- All Implemented Interfaces:
VitamCache<java.lang.String,org.bson.Document>
public class GraphComputeCache extends AbstractVitamCache<java.lang.String,org.bson.Document>
This is a default implementation of VitamCache You can given any other implementation using for example VitamCollection as parameter in the constructor You can also implement with QueryDsl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VitamCache<java.lang.String,org.bson.Document>
getInstance()
protected org.bson.Document
loadByKey(java.lang.String key)
protected java.util.Map<java.lang.String,org.bson.Document>
loadByKeys(java.lang.Iterable<? extends java.lang.String> keys)
-
Methods inherited from class fr.gouv.vitam.common.cache.AbstractVitamCache
getCache
-
-
-
-
Method Detail
-
loadByKeys
protected java.util.Map<java.lang.String,org.bson.Document> loadByKeys(java.lang.Iterable<? extends java.lang.String> keys)
- Specified by:
loadByKeys
in classAbstractVitamCache<java.lang.String,org.bson.Document>
-
loadByKey
protected org.bson.Document loadByKey(java.lang.String key)
- Specified by:
loadByKey
in classAbstractVitamCache<java.lang.String,org.bson.Document>
-
getInstance
public static VitamCache<java.lang.String,org.bson.Document> getInstance()
-
-