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
ReadWriteException
void write(String filePath, long writtenBytes, TapeCatalog tape) throws ReadWriteException
ReadWriteException
void read(TapeCatalog tape, Integer position, String outputPath) throws ReadWriteException
ReadWriteException
void loadTape(TapeCatalog tape) throws ReadWriteException
ReadWriteException
void unloadTape(TapeCatalog tape) throws ReadWriteException
ReadWriteException
TapeDriveSpec getDriveStatus(ReadWriteErrorCode readWriteErrorCode) throws ReadWriteException
ReadWriteException
Integer getDriveIndex()
String getLibraryIdentifier()
String getOutputDirectory()
boolean checkTapeLabel(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) throws ReadWriteException
tape
- forceOverrideNonEmptyCartridges
- ReadWriteException
Copyright © 2019 Vitam. All rights reserved.