Interface TapeLibraryService
- All Known Implementing Classes:
TapeLibraryServiceImpl
public interface TapeLibraryService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
ensureTapeIsEmpty
(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) getDriveStatus
(ReadWriteErrorCode readWriteErrorCode) void
goToPosition
(TapeCatalog tape, Integer position, ReadWriteErrorCode readWriteErrorCode) void
loadTape
(TapeCatalog tape) void
read
(TapeCatalog tape, Integer position, String outputPath) void
rewindTape
(TapeCatalog tape) void
unloadTape
(TapeCatalog tape) void
write
(String filePath, long writtenBytes, TapeCatalog tape)
-
Field Details
-
TAPE_MSG
- See Also:
-
TAPE_LABEL
- See Also:
-
-
Method Details
-
goToPosition
void goToPosition(TapeCatalog tape, Integer position, ReadWriteErrorCode readWriteErrorCode) throws ReadWriteException - Throws:
ReadWriteException
-
rewindTape
- Throws:
ReadWriteException
-
write
- Throws:
ReadWriteException
-
read
- Throws:
ReadWriteException
-
loadTape
- Throws:
ReadWriteException
-
unloadTape
- Throws:
ReadWriteException
-
getDriveStatus
- Throws:
ReadWriteException
-
getDriveIndex
Integer getDriveIndex() -
getLibraryIdentifier
String getLibraryIdentifier() -
getTmpOutputDirectory
String getTmpOutputDirectory() -
ensureTapeIsEmpty
void ensureTapeIsEmpty(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) throws ReadWriteException - Throws:
ReadWriteException
-
checkNonEmptyTapeLabel
- Throws:
ReadWriteException
-