public interface _IRepositoryInfoOperationsNC extends _ServiceInterfaceOperationsNC
| Modifier and Type | Method and Description |
|---|---|
void |
getFreeSpaceInKilobytes_async(AMD_IRepositoryInfo_getFreeSpaceInKilobytes __cb)
Returns the free or available space on this file system
including nested subdirectories.
|
void |
getUsageFraction_async(AMD_IRepositoryInfo_getUsageFraction __cb)
Returns a double of the used space divided by the free
space.
|
void |
getUsedSpaceInKilobytes_async(AMD_IRepositoryInfo_getUsedSpaceInKilobytes __cb)
Returns the total space in bytes for this file system
including nested subdirectories.
|
void |
removeUnusedFiles_async(AMD_IRepositoryInfo_removeUnusedFiles __cb)
Removes all files from the server that do not have an
OriginalFile complement in the database, all the Pixels
that do not have a complement in the database and all the
Thumbnail's that do not have a complement in the database.
|
void |
sanityCheckRepository_async(AMD_IRepositoryInfo_sanityCheckRepository __cb)
Checks that image data repository has not exceeded 95% disk
space use level.
|
void getUsedSpaceInKilobytes_async(AMD_IRepositoryInfo_getUsedSpaceInKilobytes __cb) throws ServerError
__cb - The callback object for the operation.ResourceError - If there is a problem retrieving disk
space used.ServerErrorvoid getFreeSpaceInKilobytes_async(AMD_IRepositoryInfo_getFreeSpaceInKilobytes __cb) throws ServerError
__cb - The callback object for the operation.ResourceError - If there is a problem retrieving disk
space free.ServerErrorvoid getUsageFraction_async(AMD_IRepositoryInfo_getUsageFraction __cb) throws ServerError
__cb - The callback object for the operation.ResourceError - If there is a problem calculating the
usage fraction.ServerErrorvoid sanityCheckRepository_async(AMD_IRepositoryInfo_sanityCheckRepository __cb) throws ServerError
__cb - The callback object for the operation.ResourceError - If the repository usage has exceeded
95%.InternalException - If there is a critical failure
while sanity checking the repository.ServerErrorvoid removeUnusedFiles_async(AMD_IRepositoryInfo_removeUnusedFiles __cb) throws ServerError
__cb - The callback object for the operation.ResourceError - If deletion fails.ServerError