public interface TapeLibraryService
| Modifier and Type | Field and Description |
|---|---|
static String |
TAPE_LABEL |
static String |
TAPE_MSG |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTapeLabel(TapeCatalog tape,
boolean forceOverrideNonEmptyCartridges) |
Integer |
getDriveIndex() |
TapeDriveSpec |
getDriveStatus(ReadWriteErrorCode readWriteErrorCode) |
String |
getLibraryIdentifier() |
String |
getOutputDirectory() |
void |
goToPosition(TapeCatalog tape,
Integer position,
ReadWriteErrorCode readWriteErrorCode) |
void |
loadTape(TapeCatalog tape) |
void |
read(TapeCatalog tape,
Integer position,
String outputPath) |
void |
unloadTape(TapeCatalog tape) |
void |
write(String filePath,
long writtenBytes,
TapeCatalog tape) |
static final String TAPE_MSG
static final String TAPE_LABEL
void goToPosition(TapeCatalog tape, Integer position, ReadWriteErrorCode readWriteErrorCode) throws ReadWriteException
ReadWriteExceptionvoid write(String filePath, long writtenBytes, TapeCatalog tape) throws ReadWriteException
ReadWriteExceptionvoid read(TapeCatalog tape, Integer position, String outputPath) throws ReadWriteException
ReadWriteExceptionvoid loadTape(TapeCatalog tape) throws ReadWriteException
ReadWriteExceptionvoid unloadTape(TapeCatalog tape) throws ReadWriteException
ReadWriteExceptionTapeDriveSpec getDriveStatus(ReadWriteErrorCode readWriteErrorCode) throws ReadWriteException
ReadWriteExceptionInteger getDriveIndex()
String getLibraryIdentifier()
String getOutputDirectory()
boolean checkTapeLabel(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) throws ReadWriteException
tape - forceOverrideNonEmptyCartridges - ReadWriteExceptionCopyright © 2019 Vitam. All rights reserved.