Class GraphLoader
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.graph.GraphLoader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class GraphLoader extends java.lang.Object implements java.lang.AutoCloseable
compute graph information with recursive parent load.
-
-
Constructor Summary
Constructors Constructor Description GraphLoader(MongoDbMetadataRepository<Unit> mongoDbMetadataRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanCache()
void
close()
java.util.Map<java.lang.String,UnitGraphModel>
loadGraphInfo(java.lang.Iterable<? extends java.lang.String> ids)
-
-
-
Constructor Detail
-
GraphLoader
public GraphLoader(MongoDbMetadataRepository<Unit> mongoDbMetadataRepository)
-
-
Method Detail
-
loadGraphInfo
public java.util.Map<java.lang.String,UnitGraphModel> loadGraphInfo(java.lang.Iterable<? extends java.lang.String> ids) throws MetaDataNotFoundException
- Throws:
MetaDataNotFoundException
-
cleanCache
public void cleanCache()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-