public class DBPathRegistry extends PathRegistry
AUDIT_FILES, ERROR_REPORT, FULL_REPORT, NO_REPORT, REBUILD, registryName, REPORT_FILES, storeBases| Constructor and Description |
|---|
DBPathRegistry(Map<String,?> configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
auditFiles() |
boolean |
exists(String pid)
Checks to see whether a pid exists in the registry.
|
String |
get(String pid) |
Enumeration<String> |
keys() |
void |
put(String pid,
String path) |
void |
rebuild() |
void |
remove(String pid) |
auditRegistry, getRegistryName, stringNull, traverseFilespublic boolean exists(String pid) throws LowlevelStorageException
exists in class PathRegistryLowlevelStorageExceptionpublic String get(String pid) throws ObjectNotInLowlevelStorageException, LowlevelStorageInconsistencyException, LowlevelStorageException
get in class PathRegistryObjectNotInLowlevelStorageExceptionLowlevelStorageInconsistencyExceptionLowlevelStorageExceptionpublic void put(String pid, String path) throws ObjectNotInLowlevelStorageException, LowlevelStorageInconsistencyException, LowlevelStorageException
put in class PathRegistryObjectNotInLowlevelStorageExceptionLowlevelStorageInconsistencyExceptionLowlevelStorageExceptionpublic void remove(String pid) throws ObjectNotInLowlevelStorageException, LowlevelStorageInconsistencyException, LowlevelStorageException
remove in class PathRegistryObjectNotInLowlevelStorageExceptionLowlevelStorageInconsistencyExceptionLowlevelStorageExceptionpublic void rebuild()
throws LowlevelStorageException
rebuild in class PathRegistryLowlevelStorageExceptionpublic void auditFiles()
throws LowlevelStorageException
auditFiles in class PathRegistryLowlevelStorageExceptionpublic Enumeration<String> keys() throws LowlevelStorageException, LowlevelStorageInconsistencyException
keys in class PathRegistryLowlevelStorageExceptionLowlevelStorageInconsistencyExceptionCopyright © 2013 DuraSpace. All Rights Reserved.