URI based HSM Module for File Copy Service.
org.dcm4chex.archive.hsm.module.uri.HSMURIModule
The default constructor
HSMURIModule
Use a leading '+' to set access time after the file is set ReadOnly. (default is before ;
Please ensure that your filesystem/command allows setting access time when file is ReadOnly!) Set value to 0 to leave retention time as is.
]]>
RetentionTime
java.lang.String
NONE
= use default values (yyyy/M/d/HH) provided by system.
]]>
DestinationFilePathFormat
java.lang.String
CopyCommand. A relative path name is resolved
relative to archive-install-directory/server/default/.]]>
OutgoingDirectory
java.lang.String
FetchCommand. A relative path name is resolved
relative to archive-install-directory/server/default/.]]>
IncomingDirectory
java.lang.String
Used in queryStatus to get actual status of a file.
Enumerated status values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED
Format: <extension>=<status>
A entry without <extension>= is used if no file with configured extension exists.
This could also be set to NONE (do not change the file status).
]]>
StatusExtensions
java.lang.String
NONE to check for existance (and filesize larger 0) only.]]>
CheckCommand
java.lang.String
New file status, file is confirmed on URI.
Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED,
QUERY_HSM_FAILED
FileStoredStatus
java.lang.String
New file status, file could not be confirmed on URI.
Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED,
QUERY_HSM_FAILED
FileNotStoredStatus
java.lang.String
id_rsa)
]]>
SshPrivateKeyFile
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