Package fr.gouv.vitam.metadata.core.graph

# Class GraphComputeCache

java.lang.Object
fr.gouv.vitam.common.cache.AbstractVitamCache<String,org.bson.Document>
fr.gouv.vitam.metadata.core.graph.GraphComputeCache

All Implemented Interfaces:
  `VitamCache<String,org.bson.Document>`

public class GraphComputeCache extends AbstractVitamCache<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

  Modifier and Type
  Method
  Description
  `static VitamCache<String,org.bson.Document>`
  `getInstance()`
  `protected org.bson.Document`
  `loadByKey(String key)`
  `protected Map<String,org.bson.Document>`
  `loadByKeys(Iterable<? extends String> keys)`

  ### Methods inherited from class fr.gouv.vitam.common.cache.AbstractVitamCache

  `getCache`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### loadByKeys

    protected Map<String,org.bson.Document> loadByKeys(Iterable<? extends String> keys)
    Specified by:
      `loadByKeys` in class `AbstractVitamCache<String,org.bson.Document>`

  - ### loadByKey

    protected org.bson.Document loadByKey(String key)
    Specified by:
      `loadByKey` in class `AbstractVitamCache<String,org.bson.Document>`

  - ### getInstance

    public static VitamCache<String,org.bson.Document> getInstance()