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 void
loadTape(int slotNumber, int driveIndex)
TapeLibrarySpec
status()
void
unloadTape(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:
status
in interfaceTapeLoadUnloadService
- Throws:
TapeCommandException
-
loadTape
public void loadTape(int slotNumber, int driveIndex) throws TapeCommandException
- Specified by:
loadTape
in interfaceTapeLoadUnloadService
- Throws:
TapeCommandException
-
unloadTape
public void unloadTape(int slotNumber, int driveIndex) throws TapeCommandException
- Specified by:
unloadTape
in interfaceTapeLoadUnloadService
- Throws:
TapeCommandException
-
-