Class TapeDriveWorker
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.worker.TapeDriveWorker
-
- All Implemented Interfaces:
java.lang.Runnable
public class TapeDriveWorker extends java.lang.Object implements java.lang.Runnable
-
-
Constructor Summary
Constructors Constructor Description TapeDriveWorker(TapeRobotPool tapeRobotPool, TapeDriveService tapeDriveService, TapeCatalogService tapeCatalogService, TapeDriveOrderConsumer receiver, ArchiveReferentialRepository archiveReferentialRepository, ReadRequestReferentialRepository readRequestReferentialRepository, TapeCatalog currentTape, java.lang.String inputTarPath, boolean forceOverrideNonEmptyCartridges, ArchiveOutputRetentionPolicy archiveOutputRetentionPolicy)
TapeDriveWorker(TapeRobotPool tapeRobotPool, TapeDriveService tapeDriveService, TapeCatalogService tapeCatalogService, TapeDriveOrderConsumer receiver, ArchiveReferentialRepository archiveReferentialRepository, ReadRequestReferentialRepository readRequestReferentialRepository, TapeCatalog currentTape, java.lang.String inputTarPath, long sleepTime, boolean forceOverrideNonEmptyCartridges, ArchiveOutputRetentionPolicy archiveOutputRetentionPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
void
pause()
void
resume()
void
run()
void
stop()
void
stop(long timeout, java.util.concurrent.TimeUnit timeUnit)
-
-
-
Constructor Detail
-
TapeDriveWorker
public TapeDriveWorker(TapeRobotPool tapeRobotPool, TapeDriveService tapeDriveService, TapeCatalogService tapeCatalogService, TapeDriveOrderConsumer receiver, ArchiveReferentialRepository archiveReferentialRepository, ReadRequestReferentialRepository readRequestReferentialRepository, TapeCatalog currentTape, java.lang.String inputTarPath, long sleepTime, boolean forceOverrideNonEmptyCartridges, ArchiveOutputRetentionPolicy archiveOutputRetentionPolicy)
-
TapeDriveWorker
public TapeDriveWorker(TapeRobotPool tapeRobotPool, TapeDriveService tapeDriveService, TapeCatalogService tapeCatalogService, TapeDriveOrderConsumer receiver, ArchiveReferentialRepository archiveReferentialRepository, ReadRequestReferentialRepository readRequestReferentialRepository, TapeCatalog currentTape, java.lang.String inputTarPath, boolean forceOverrideNonEmptyCartridges, ArchiveOutputRetentionPolicy archiveOutputRetentionPolicy)
-
-