Class MtxTapeLibraryService
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.impl.robot.MtxTapeLibraryService
-
- All Implemented Interfaces:
TapeLoadUnloadService
,TapeRobotSafeCommandService
public class MtxTapeLibraryService extends java.lang.Object implements TapeLoadUnloadService
-
-
Constructor Summary
Constructors Constructor Description MtxTapeLibraryService(TapeRobotConf tapeRobotConf, ProcessExecutor processExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessExecutor
getExecutor()
TapeResponse
loadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)
TapeResponse
loadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
TapeLibrarySpec
status()
TapeResponse
unloadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)
TapeResponse
unloadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
-
-
-
Field Detail
-
F
public static final java.lang.String F
- See Also:
- Constant Field Values
-
UNLOAD
public static final java.lang.String UNLOAD
- See Also:
- Constant Field Values
-
LOAD
public static final java.lang.String LOAD
- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MtxTapeLibraryService
public MtxTapeLibraryService(TapeRobotConf tapeRobotConf, ProcessExecutor processExecutor)
-
-
Method Detail
-
status
public TapeLibrarySpec status()
- Specified by:
status
in interfaceTapeRobotSafeCommandService
-
loadTape
public TapeResponse loadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
- Specified by:
loadTape
in interfaceTapeLoadUnloadService
-
unloadTape
public TapeResponse unloadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
- Specified by:
unloadTape
in interfaceTapeLoadUnloadService
-
loadTape
public TapeResponse loadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)
- Specified by:
loadTape
in interfaceTapeLoadUnloadService
-
unloadTape
public TapeResponse unloadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)
- Specified by:
unloadTape
in interfaceTapeLoadUnloadService
-
getExecutor
public ProcessExecutor getExecutor()
- Specified by:
getExecutor
in interfaceTapeRobotSafeCommandService
-
-