Class InaService
java.lang.Object
fr.gouv.vitam.storage.cold.server.simulator.service.InaService
Main service orchestrator
Delegates to specialized services:
- InaIoService: write/read operations
- InaLibraryService: robotic commands (sleep-only) and status queries (static responses)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoideject(int driveIndex) getDriveStatus(int driveIndex) voidgoToEnd(int driveIndex) voidloadTape(int slotNumber, int driveIndex) voidmove(int driveIndex, int position, boolean backward) voidreadFromTape(int driveIndex, String outputPath) voidrewind(int driveIndex) voidunloadTape(int slotNumber, int driveIndex) voidwriteToTape(int driveIndex, String inputPath)
-
Constructor Details
-
InaService
-
-
Method Details
-
writeToTape
- Throws:
InaTapeProxyException
-
readFromTape
- Throws:
InaTapeProxyException
-
move
- Throws:
InaTapeProxyException
-
rewind
- Throws:
InaTapeProxyException
-
goToEnd
- Throws:
InaTapeProxyException
-
eject
- Throws:
InaTapeProxyException
-
loadTape
- Throws:
InaTapeProxyException
-
unloadTape
- Throws:
InaTapeProxyException
-
getDriveStatus
- Throws:
InaTapeProxyException
-
getLibraryStatus
- Throws:
InaTapeProxyException
-