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