Class MarkerManager
java.lang.Object
fr.gouv.vitam.storage.cold.server.simulator.service.filesystem.MarkerManager
Manages marker files for tracking operation states
Marker files indicate the state of write/read operations:
- .WRITE_OK: File fully written by proxy ==> available for INA for read
- .READ_REQUEST: File read request emitted by the proxy
- .READ_OK: Requested file is fully written by INA, and is available for read for the proxy
- .READ_KO_NOT_FOUND: Requested file does not exist
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateMarker(String filename, MarkerType type) Create a marker file for the given filename and marker type The marker file contains a timestampvoiddeleteMarker(String filename, MarkerType type) Delete a marker file for the given filename and marker type
-
Constructor Details
-
MarkerManager
-
-
Method Details
-
createMarker
Create a marker file for the given filename and marker type The marker file contains a timestamp- Throws:
InaTapeProxyException
-
deleteMarker
Delete a marker file for the given filename and marker type- Throws:
InaTapeProxyException
-