Class InaTapeProxyApi
java.lang.Object
fr.gouv.vitam.storage.cold.client.InaTapeProxyApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-05T16:28:11.057776185+02:00[Europe/Paris]",
comments="Generator version: 7.4.0")
public class InaTapeProxyApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEject tape Ejects the tape from the drive.getDriveStatus(Integer driveIndex) Get tape drive status Returns detailed information about the current tape drive.Get library status Returns the current state of the tape library, including slots and drives information.voidvoidGo to end of data (EOD) Moves the tape to the end of the recorded data.voidLoad a tape Loads a tape from a specified slot into a given drive.voidMove tape position Moves the tape a certain number of blocks forward or backward.voidreadFromTape(Integer driveIndex, String outputPath) Read data from tape Extracts a file from the mounted tape to the working directory.voidRewind tape Rewinds the current tape to the beginning.voidsetApiClient(ApiClient apiClient) voidstatus()voidunloadTape(Integer slotNumber, Integer drive) Unload a tape Unloads a tape from a drive back to a specified slot.voidwriteToTape(Integer driveIndex, String inputPath) Write data to tape Transfers a file from the working directory to the mounted tape.
-
Constructor Details
-
InaTapeProxyApi
public InaTapeProxyApi() -
InaTapeProxyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
eject
Eject tape Ejects the tape from the drive.- Parameters:
driveIndex- (required)- Throws:
ApiException- if fails to make API call
-
getDriveStatus
Get tape drive status Returns detailed information about the current tape drive.- Parameters:
driveIndex- (required)- Returns:
- a
TapeDriveState - Throws:
ApiException- if fails to make API call
-
getLibraryStatus
Get library status Returns the current state of the tape library, including slots and drives information.- Returns:
- a
TapeLibraryState - Throws:
ApiException- if fails to make API call
-
getServerTenants
- Throws:
ApiException- if fails to make API call
-
goToEnd
Go to end of data (EOD) Moves the tape to the end of the recorded data.- Parameters:
driveIndex- (required)- Throws:
ApiException- if fails to make API call
-
loadTape
Load a tape Loads a tape from a specified slot into a given drive.- Parameters:
slotNumber- (optional)drive- (optional)- Throws:
ApiException- if fails to make API call
-
move
Move tape position Moves the tape a certain number of blocks forward or backward.- Parameters:
driveIndex- (required)position- (optional)backward- (optional)- Throws:
ApiException- if fails to make API call
-
readFromTape
Read data from tape Extracts a file from the mounted tape to the working directory.- Parameters:
driveIndex- (required)outputPath- (optional)- Throws:
ApiException- if fails to make API call
-
rewind
Rewind tape Rewinds the current tape to the beginning.- Parameters:
driveIndex- (required)- Throws:
ApiException- if fails to make API call
-
status
- Throws:
ApiException- if fails to make API call
-
unloadTape
Unload a tape Unloads a tape from a drive back to a specified slot.- Parameters:
slotNumber- (optional)drive- (optional)- Throws:
ApiException- if fails to make API call
-
writeToTape
Write data to tape Transfers a file from the working directory to the mounted tape.- Parameters:
driveIndex- (required)inputPath- (optional)- Throws:
ApiException- if fails to make API call
-