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 TapeResponseeject()Rewind and eject the tapeProcessExecutorgetExecutor()TapeResponsegoToEnd()EOD end of dataTapeResponsemove(java.lang.Integer position, boolean isBackward)fsf / bsfmTapeResponserewind()Go to startTapeDriveSpecstatus()
-
-
-
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:
statusin interfaceTapeDriveSafeCommandService
-
move
public TapeResponse move(java.lang.Integer position, boolean isBackward)
Description copied from interface:TapeDriveCommandServicefsf / bsfm- Specified by:
movein interfaceTapeDriveCommandService- Returns:
- TapeResponse
-
rewind
public TapeResponse rewind()
Description copied from interface:TapeDriveCommandServiceGo to start- Specified by:
rewindin interfaceTapeDriveCommandService- Returns:
- TapeResponse
-
goToEnd
public TapeResponse goToEnd()
Description copied from interface:TapeDriveCommandServiceEOD end of data- Specified by:
goToEndin interfaceTapeDriveCommandService- Returns:
- TapeResponse
-
eject
public TapeResponse eject()
Description copied from interface:TapeDriveCommandServiceRewind and eject the tape- Specified by:
ejectin interfaceTapeDriveCommandService- Returns:
- TapeResponse
-
getExecutor
public ProcessExecutor getExecutor()
- Specified by:
getExecutorin interfaceTapeDriveSafeCommandService
-
-