Class MtxTapeLibraryService
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.impl.robot.MtxTapeLibraryService
-
- All Implemented Interfaces:
TapeLoadUnloadService
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 voidloadTape(int slotNumber, int driveIndex)TapeLibrarySpecstatus()voidunloadTape(int slotNumber, int 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() throws TapeCommandException
- Specified by:
statusin interfaceTapeLoadUnloadService- Throws:
TapeCommandException
-
loadTape
public void loadTape(int slotNumber, int driveIndex) throws TapeCommandException- Specified by:
loadTapein interfaceTapeLoadUnloadService- Throws:
TapeCommandException
-
unloadTape
public void unloadTape(int slotNumber, int driveIndex) throws TapeCommandException- Specified by:
unloadTapein interfaceTapeLoadUnloadService- Throws:
TapeCommandException
-
-