Class FileBucketTarCreatorManager
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.cas.FileBucketTarCreatorManager
-
public class FileBucketTarCreatorManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileBucketTarCreatorManager(TapeLibraryConfiguration tapeLibraryConfiguration, BasicFileStorage basicFileStorage, BucketTopologyHelper bucketTopologyHelper, ObjectReferentialRepository objectReferentialRepository, ArchiveReferentialRepository archiveReferentialRepository, WriteOrderCreator writeOrderCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToQueue(InputFileToProcessMessage inputFileToProcessMessage)
boolean
containsTar(java.lang.String fileBucketId, java.lang.String tarId)
void
initializeOnBootstrap()
void
startListeners()
java.util.Optional<java.io.FileInputStream>
tryReadTar(java.lang.String fileBucketId, java.lang.String tarId)
-
-
-
Constructor Detail
-
FileBucketTarCreatorManager
public FileBucketTarCreatorManager(TapeLibraryConfiguration tapeLibraryConfiguration, BasicFileStorage basicFileStorage, BucketTopologyHelper bucketTopologyHelper, ObjectReferentialRepository objectReferentialRepository, ArchiveReferentialRepository archiveReferentialRepository, WriteOrderCreator writeOrderCreator)
-
-
Method Detail
-
initializeOnBootstrap
public void initializeOnBootstrap()
-
startListeners
public void startListeners()
-
addToQueue
public void addToQueue(InputFileToProcessMessage inputFileToProcessMessage)
-
containsTar
public boolean containsTar(java.lang.String fileBucketId, java.lang.String tarId)
-
tryReadTar
public java.util.Optional<java.io.FileInputStream> tryReadTar(java.lang.String fileBucketId, java.lang.String tarId)
-
-