This service can be used to handle different HSM storage systems
]]>
org.dcm4chex.archive.hsm.module.MappedHSMModule
The default constructor
MappedHSMModule
Format:<fsID>=<HSMModule Service Name>[<newline><fsID>=<...>[..]]
Use 'NONE' to disable mapping.
Example:
tar:/store1=dcm4chee.archive:service=FileCopyHSMModule,type=Command
tar:/store2=dcm4chee.archive:service=FileCopyHSMModule,type=FileBased
]]>
ModuleMapping
java.lang.String
Used internally. Do NOT modify.
FileCopyServiceName
javax.management.ObjectName
&defaultAttributes;
&defaultOperations;
]]>
prepareHSMFile
File system ID
fsID
java.lang.String
File path relative to file system (fsID)
filePath
java.lang.String
java.io.File
Store given File to HSM. Return filename (fileID)
storeHSMFile
File to store in HSM
file
java.io.File
File system ID
fsID
java.lang.String
File path relative to file system (fsID)
filePath
java.lang.String
java.lang.String
Called if FileCopy failed.
failedHSMFile
File to store in HSM
file
java.io.File
File system ID
fsID
java.lang.String
File path relative to file system (fsID)
filePath
java.lang.String
void
Fetch a File from HSM.
fetchHSMFile
File system ID
fsID
java.lang.String
File path relative to file system (fsID)
filePath
java.lang.String
java.io.File
Called from TarRetriever to finish Fetch of a File from HSM. (Cleanup temporary resources)
fetchHSMFileFinished
File system ID
fsID
java.lang.String
File path relative to file system (fsID)
filePath
java.lang.String
File object (returned from fetchHSMFile)
file
java.io.File
void
Query status of file in HSM.
queryStatus
File system ID
fsID
java.lang.String
File path relative to file system (fsID)
filePath
java.lang.String
User info associated with the file system
userInfo
java.lang.String
java.lang.Integer