Class FileBucketTarCreator
java.lang.Object
fr.gouv.vitam.storage.offers.tape.inmemoryqueue.QueueProcessor<TarCreatorMessage>
fr.gouv.vitam.storage.offers.tape.cas.FileBucketTarCreator
-
Constructor Summary
ConstructorDescriptionFileBucketTarCreator
(BasicFileStorage basicFileStorage, ObjectReferentialRepository objectReferentialRepository, ArchiveReferentialRepository archiveReferentialRepository, WriteOrderCreator writeOrderCreator, String bucketId, String fileBucketId, int tarBufferingTimeout, TimeUnit tarBufferingTimeUnit, String inputTarStorageFolder, long maxTarEntrySize, long maxTarFileSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToQueue
(TarCreatorMessage message) boolean
containsTar
(String tarId) protected void
processMessage
(TarCreatorMessage message) tryReadTar
(String tarId) Methods inherited from class fr.gouv.vitam.storage.offers.tape.inmemoryqueue.QueueProcessor
addFirst, startListener
-
Constructor Details
-
FileBucketTarCreator
public FileBucketTarCreator(BasicFileStorage basicFileStorage, ObjectReferentialRepository objectReferentialRepository, ArchiveReferentialRepository archiveReferentialRepository, WriteOrderCreator writeOrderCreator, String bucketId, String fileBucketId, int tarBufferingTimeout, TimeUnit tarBufferingTimeUnit, String inputTarStorageFolder, long maxTarEntrySize, long maxTarFileSize)
-
-
Method Details
-
processMessage
- Specified by:
processMessage
in classQueueProcessor<TarCreatorMessage>
- Throws:
QueueProcessingException
-
containsTar
-
tryReadTar
-
addToQueue
- Overrides:
addToQueue
in classQueueProcessor<TarCreatorMessage>
-