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

# Class GraphLoader

java.lang.Object
fr.gouv.vitam.metadata.core.graph.GraphLoader

All Implemented Interfaces:
  `AutoCloseable`

public class GraphLoader extends Object implements AutoCloseable
compute graph information with recursive parent load.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GraphLoader(MongoDbMetadataRepository<Unit> mongoDbMetadataRepository)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `cleanCache()`
  `void`
  `close()`
  `Map<String,UnitGraphModel>`
  `loadGraphInfo(Iterable<? extends String> ids)`

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

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

- ## Constructor Details

  - ### GraphLoader

    public GraphLoader(MongoDbMetadataRepository<Unit> mongoDbMetadataRepository)

- ## Method Details

  - ### loadGraphInfo

    public Map<String,UnitGraphModel> loadGraphInfo(Iterable<? extends String> ids) throws MetaDataNotFoundException
    Throws:
      `MetaDataNotFoundException`

  - ### cleanCache

    public void cleanCache()

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`