Interface TapeLibraryService
-
- All Known Implementing Classes:
TapeLibraryServiceImpl
public interface TapeLibraryService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAPE_LABEL
static java.lang.String
TAPE_MSG
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkNonEmptyTapeLabel(TapeCatalog tape)
void
ensureTapeIsEmpty(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges)
java.lang.Integer
getDriveIndex()
TapeDriveSpec
getDriveStatus(ReadWriteErrorCode readWriteErrorCode)
java.lang.String
getLibraryIdentifier()
java.lang.String
getTmpOutputDirectory()
void
goToPosition(TapeCatalog tape, java.lang.Integer position, ReadWriteErrorCode readWriteErrorCode)
void
loadTape(TapeCatalog tape)
void
read(TapeCatalog tape, java.lang.Integer position, java.lang.String outputPath)
void
rewindTape(TapeCatalog tape)
void
unloadTape(TapeCatalog tape)
void
write(java.lang.String filePath, long writtenBytes, TapeCatalog tape)
-
-
-
Field Detail
-
TAPE_MSG
static final java.lang.String TAPE_MSG
- See Also:
- Constant Field Values
-
TAPE_LABEL
static final java.lang.String TAPE_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
goToPosition
void goToPosition(TapeCatalog tape, java.lang.Integer position, ReadWriteErrorCode readWriteErrorCode) throws ReadWriteException
- Throws:
ReadWriteException
-
rewindTape
void rewindTape(TapeCatalog tape) throws ReadWriteException
- Throws:
ReadWriteException
-
write
void write(java.lang.String filePath, long writtenBytes, TapeCatalog tape) throws ReadWriteException
- Throws:
ReadWriteException
-
read
void read(TapeCatalog tape, java.lang.Integer position, java.lang.String outputPath) throws ReadWriteException
- Throws:
ReadWriteException
-
loadTape
void loadTape(TapeCatalog tape) throws ReadWriteException
- Throws:
ReadWriteException
-
unloadTape
void unloadTape(TapeCatalog tape) throws ReadWriteException
- Throws:
ReadWriteException
-
getDriveStatus
TapeDriveSpec getDriveStatus(ReadWriteErrorCode readWriteErrorCode) throws ReadWriteException
- Throws:
ReadWriteException
-
getDriveIndex
java.lang.Integer getDriveIndex()
-
getLibraryIdentifier
java.lang.String getLibraryIdentifier()
-
getTmpOutputDirectory
java.lang.String getTmpOutputDirectory()
-
ensureTapeIsEmpty
void ensureTapeIsEmpty(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) throws ReadWriteException
- Throws:
ReadWriteException
-
checkNonEmptyTapeLabel
void checkNonEmptyTapeLabel(TapeCatalog tape) throws ReadWriteException
- Throws:
ReadWriteException
-
-