public abstract class PathRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
AUDIT_FILES |
protected static int |
ERROR_REPORT |
protected static int |
FULL_REPORT |
protected static int |
NO_REPORT |
protected static int |
REBUILD |
protected String |
registryName |
protected static int |
REPORT_FILES |
protected String[] |
storeBases |
| Constructor and Description |
|---|
PathRegistry(Map<String,?> configuration) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
auditFiles() |
void |
auditRegistry() |
abstract boolean |
exists(String pid) |
abstract String |
get(String pid) |
protected String |
getRegistryName() |
abstract Enumeration<String> |
keys() |
abstract void |
put(String pid,
String path) |
abstract void |
rebuild() |
abstract void |
remove(String pid) |
static boolean |
stringNull(String string) |
void |
traverseFiles(String[] storeBases,
int operation,
boolean stopOnError,
int report) |
protected static final int NO_REPORT
protected static final int ERROR_REPORT
protected static final int FULL_REPORT
protected static final int REPORT_FILES
protected static final int AUDIT_FILES
protected static final int REBUILD
protected final String registryName
protected final String[] storeBases
public abstract boolean exists(String pid) throws LowlevelStorageException
LowlevelStorageExceptionpublic abstract String get(String pid) throws LowlevelStorageException
LowlevelStorageExceptionpublic abstract void put(String pid, String path) throws LowlevelStorageException
LowlevelStorageExceptionpublic abstract void remove(String pid) throws LowlevelStorageException
LowlevelStorageExceptionpublic abstract void rebuild()
throws LowlevelStorageException
LowlevelStorageExceptionpublic abstract void auditFiles()
throws LowlevelStorageException
LowlevelStorageExceptionpublic void auditRegistry()
throws LowlevelStorageException
LowlevelStorageExceptionprotected final String getRegistryName()
public static final boolean stringNull(String string)
public void traverseFiles(String[] storeBases, int operation, boolean stopOnError, int report) throws LowlevelStorageException
LowlevelStorageExceptionpublic abstract Enumeration<String> keys() throws LowlevelStorageException, LowlevelStorageInconsistencyException
Copyright © 2013 DuraSpace. All Rights Reserved.