public class MtTapeLibraryService extends Object implements TapeDriveCommandService
| Modifier and Type | Field and Description |
|---|---|
static String |
BSFM |
static String |
EOD |
static String |
F |
static String |
FSF |
static String |
OFFLINE |
static String |
REWIND |
static String |
STATUS |
| Constructor and Description |
|---|
MtTapeLibraryService(TapeDriveConf tapeDriveConf,
ProcessExecutor processExecutor) |
| Modifier and Type | Method and Description |
|---|---|
TapeResponse |
eject()
Rewind and eject the tape
|
ProcessExecutor |
getExecutor() |
TapeResponse |
goToEnd()
EOD end of data
|
TapeResponse |
move(Integer position,
boolean isBackward)
fsf / bsfm
|
TapeResponse |
rewind()
Go to start
|
TapeDriveSpec |
status() |
public static final String F
public static final String STATUS
public static final String FSF
public static final String BSFM
public static final String REWIND
public static final String EOD
public static final String OFFLINE
public MtTapeLibraryService(TapeDriveConf tapeDriveConf, ProcessExecutor processExecutor)
public TapeDriveSpec status()
status in interface TapeDriveSafeCommandServicepublic TapeResponse move(Integer position, boolean isBackward)
TapeDriveCommandServicemove in interface TapeDriveCommandServicepublic TapeResponse rewind()
TapeDriveCommandServicerewind in interface TapeDriveCommandServicepublic TapeResponse goToEnd()
TapeDriveCommandServicegoToEnd in interface TapeDriveCommandServicepublic TapeResponse eject()
TapeDriveCommandServiceeject in interface TapeDriveCommandServicepublic ProcessExecutor getExecutor()
getExecutor in interface TapeDriveSafeCommandServiceCopyright © 2019 Vitam. All rights reserved.