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 TapeDriveSafeCommandService
public TapeResponse move(Integer position, boolean isBackward)
TapeDriveCommandService
move
in interface TapeDriveCommandService
public TapeResponse rewind()
TapeDriveCommandService
rewind
in interface TapeDriveCommandService
public TapeResponse goToEnd()
TapeDriveCommandService
goToEnd
in interface TapeDriveCommandService
public TapeResponse eject()
TapeDriveCommandService
eject
in interface TapeDriveCommandService
public ProcessExecutor getExecutor()
getExecutor
in interface TapeDriveSafeCommandService
Copyright © 2019 Vitam. All rights reserved.