public interface StorageService
extends org.dcm4che3.net.DeviceServiceInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDigest(InputStream is,
String digest,
MessageDigest md) |
void |
deleteFileAndParentDirectories(Path path) |
long |
getFreeSpaceOf(Path path) |
org.dcm4chee.storage.conf.Filesystem |
getRWFilesystem(String groupID,
long filesize) |
StorageResult |
move(Path source,
String groupID,
Object pathDescriptor) |
void |
reload() |
StorageResult |
store(InputStream is,
String groupID,
Object pathDescriptor,
MessageDigest md)
Store given InputStream to a writable filesystem of foiesystem group given by groupID
|
org.dcm4chee.storage.conf.Filesystem |
switchRWFilesystem(String groupID) |
Path |
toPath(org.dcm4chee.storage.entity.BaseFileRef f) |
org.dcm4chee.storage.conf.Filesystem getRWFilesystem(String groupID, long filesize) throws org.dcm4che3.conf.api.ConfigurationException
org.dcm4che3.conf.api.ConfigurationExceptionorg.dcm4chee.storage.conf.Filesystem switchRWFilesystem(String groupID) throws org.dcm4che3.conf.api.ConfigurationException
org.dcm4che3.conf.api.ConfigurationExceptionlong getFreeSpaceOf(Path path)
StorageResult store(InputStream is, String groupID, Object pathDescriptor, MessageDigest md) throws org.dcm4che3.conf.api.ConfigurationException, IOException, NoSuchAlgorithmException
is - Inputstream to storegroupID - Filesystem group ID used to get writable filesystempathDescriptor - Object to build file path via injected Format object. (e.g. TimeAndUidPathFormat)org.dcm4che3.conf.api.ConfigurationExceptionIOExceptionNoSuchAlgorithmExceptionStorageResult move(Path source, String groupID, Object pathDescriptor) throws org.dcm4che3.conf.api.ConfigurationException, IOException, NoSuchAlgorithmException
org.dcm4che3.conf.api.ConfigurationExceptionIOExceptionNoSuchAlgorithmExceptionboolean checkDigest(InputStream is, String digest, MessageDigest md)
void deleteFileAndParentDirectories(Path path)
Path toPath(org.dcm4chee.storage.entity.BaseFileRef f)
Copyright © 2014. All Rights Reserved.