Class MtTapeLibraryService
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.impl.drive.MtTapeLibraryService
-
- All Implemented Interfaces:
TapeDriveCommandService
,TapeDriveSafeCommandService
public class MtTapeLibraryService extends java.lang.Object implements TapeDriveCommandService
-
-
Constructor Summary
Constructors Constructor Description MtTapeLibraryService(TapeDriveConf tapeDriveConf, ProcessExecutor processExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapeResponse
eject()
Rewind and eject the tapeProcessExecutor
getExecutor()
TapeResponse
goToEnd()
EOD end of dataTapeResponse
move(java.lang.Integer position, boolean isBackward)
fsf / bsfmTapeResponse
rewind()
Go to startTapeDriveSpec
status()
-
-
-
Field Detail
-
F
public static final java.lang.String F
- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
- See Also:
- Constant Field Values
-
FSF
public static final java.lang.String FSF
- See Also:
- Constant Field Values
-
BSFM
public static final java.lang.String BSFM
- See Also:
- Constant Field Values
-
REWIND
public static final java.lang.String REWIND
- See Also:
- Constant Field Values
-
EOD
public static final java.lang.String EOD
- See Also:
- Constant Field Values
-
OFFLINE
public static final java.lang.String OFFLINE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MtTapeLibraryService
public MtTapeLibraryService(TapeDriveConf tapeDriveConf, ProcessExecutor processExecutor)
-
-
Method Detail
-
status
public TapeDriveSpec status()
- Specified by:
status
in interfaceTapeDriveSafeCommandService
-
move
public TapeResponse move(java.lang.Integer position, boolean isBackward)
Description copied from interface:TapeDriveCommandService
fsf / bsfm- Specified by:
move
in interfaceTapeDriveCommandService
- Returns:
- TapeResponse
-
rewind
public TapeResponse rewind()
Description copied from interface:TapeDriveCommandService
Go to start- Specified by:
rewind
in interfaceTapeDriveCommandService
- Returns:
- TapeResponse
-
goToEnd
public TapeResponse goToEnd()
Description copied from interface:TapeDriveCommandService
EOD end of data- Specified by:
goToEnd
in interfaceTapeDriveCommandService
- Returns:
- TapeResponse
-
eject
public TapeResponse eject()
Description copied from interface:TapeDriveCommandService
Rewind and eject the tape- Specified by:
eject
in interfaceTapeDriveCommandService
- Returns:
- TapeResponse
-
getExecutor
public ProcessExecutor getExecutor()
- Specified by:
getExecutor
in interfaceTapeDriveSafeCommandService
-
-