Interface TapeDriveCommandService
-
- All Known Implementing Classes:
MtTapeLibraryService
public interface TapeDriveCommandService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voideject()Rewind and eject the tapevoidgoToEnd()EOD end of datavoidmove(int position, boolean isBackward)fsf / bsfmvoidrewind()Go to startTapeDriveSpecstatus()
-
-
-
Method Detail
-
status
TapeDriveSpec status() throws TapeCommandException
- Returns:
- Throws:
TapeCommandException- on command failure
-
move
void move(int position, boolean isBackward) throws TapeCommandExceptionfsf / bsfm- Parameters:
position-isBackward-- Throws:
TapeCommandException- on command failure
-
rewind
void rewind() throws TapeCommandExceptionGo to start- Throws:
TapeCommandException
-
goToEnd
void goToEnd() throws TapeCommandExceptionEOD end of data- Throws:
TapeCommandException- on command failure
-
eject
void eject() throws TapeCommandExceptionRewind and eject the tape- Throws:
TapeCommandException- on command failure
-
-