public interface IRepositoryInfo extends ServiceInterface
Methods that fail or cannot execute on the server will throw an InternalException. This would not be normal and would indicate some server or disk failure.
Copyright 2007 Glencoe Software Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt
| Modifier and Type | Method and Description | 
|---|---|
long | 
getFreeSpaceInKilobytes()
This method returns the free or available space on this file system
 including nested subdirectories. 
 | 
double | 
getUsageFraction()
This method returns a double of the used space divided by the free space. 
 | 
long | 
getUsedSpaceInKilobytes()
This method returns the total space in bytes for this file system
 including nested subdirectories. 
 | 
void | 
removeUnusedFiles()
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()
Checks that image data repository has not exceeded 95% disk space use
 level. 
 | 
long getUsedSpaceInKilobytes()
ResourceError - If there is a problem retrieving disk space used.long getFreeSpaceInKilobytes()
ResourceError - If there is a problem retrieving disk space free.double getUsageFraction()
ResourceError - If there is a problem calculating the usage
 fraction.void sanityCheckRepository()
ResourceError - If the repository usage has exceeded 95%.ome.conditions.InternalException - If there is a critical failure while sanity
 checking the repository.void removeUnusedFiles()
ResourceError - If deletion fails.