public interface _IRepositoryInfoOperations extends _ServiceInterfaceOperations
Modifier and Type | Method and Description |
---|---|
void |
getFreeSpaceInKilobytes_async(AMD_IRepositoryInfo_getFreeSpaceInKilobytes __cb,
Ice.Current __current)
Returns the free or available space on this file system
including nested subdirectories.
|
void |
getUsageFraction_async(AMD_IRepositoryInfo_getUsageFraction __cb,
Ice.Current __current)
Returns a double of the used space divided by the free
space.
|
void |
getUsedSpaceInKilobytes_async(AMD_IRepositoryInfo_getUsedSpaceInKilobytes __cb,
Ice.Current __current)
Returns the total space in bytes for this file system
including nested subdirectories.
|
void |
removeUnusedFiles_async(AMD_IRepositoryInfo_removeUnusedFiles __cb,
Ice.Current __current)
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,
Ice.Current __current)
Checks that image data repository has not exceeded 95% disk
space use level.
|
void getUsedSpaceInKilobytes_async(AMD_IRepositoryInfo_getUsedSpaceInKilobytes __cb, Ice.Current __current) throws ServerError
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ResourceError
- If there is a problem retrieving disk
space used.ServerError
void getFreeSpaceInKilobytes_async(AMD_IRepositoryInfo_getFreeSpaceInKilobytes __cb, Ice.Current __current) throws ServerError
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ResourceError
- If there is a problem retrieving disk
space free.ServerError
void getUsageFraction_async(AMD_IRepositoryInfo_getUsageFraction __cb, Ice.Current __current) throws ServerError
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ResourceError
- If there is a problem calculating the
usage fraction.ServerError
void sanityCheckRepository_async(AMD_IRepositoryInfo_sanityCheckRepository __cb, Ice.Current __current) throws ServerError
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ResourceError
- If the repository usage has exceeded
95%.InternalException
- If there is a critical failure
while sanity checking the repository.ServerError
void removeUnusedFiles_async(AMD_IRepositoryInfo_removeUnusedFiles __cb, Ice.Current __current) throws ServerError
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ResourceError
- If deletion fails.ServerError