Package de.bsvrz.ars.ars.persistence
Class RestorePersDirTsk
java.lang.Object
de.bsvrz.ars.ars.mgmt.tasks.AbstractTask
de.bsvrz.ars.ars.mgmt.tasks.Task
de.bsvrz.ars.ars.persistence.RestorePersDirTsk
public final class RestorePersDirTsk extends Task
Diese Klasse teilt das Persistenzverzeichnis in disjunkte Teilbaeume auf und stellt alle Verwaltungsinformationen wieder her.
-
Field Summary
Fields Modifier and Type Field Description static long
test_badDID
static long
test_goodDID
static long
test_totalDID
damit man nach dem cleanup noch zu testzwecken auf die ergebnisse zugreifen kann:static long
test_viscont
Fields inherited from class de.bsvrz.ars.ars.mgmt.tasks.AbstractTask
_debug, _shouldTerminate, archMgr, didTree, persMgr
-
Constructor Summary
Constructors Constructor Description RestorePersDirTsk(ArchiveManager archiveMgr)
-
Method Summary
Modifier and Type Method Description void
execute()
Durchlaueft mit Hilfe einesDataIdentificationDirWalk
jedes Verzeichnis und stellt die Verwaltungsinformation wieder her.long
getBadDID()
long
getContainerIgnored()
long
getContainerRead()
long
getErrorCount()
long
getGoodDID()
long
getIndexCreated()
long
getIndexDeleted()
long
getMaxArchiveTime()
long
getMaxContID()
int
getMaxMedienID()
long
getTotalDID()
boolean
success()
Methods inherited from class de.bsvrz.ars.ars.mgmt.tasks.Task
addTaskStepListener, cleanUp, getName, getState, isAlive, isTerminated, join, removeTaskStepListener, setName, start, taskStepDone
Methods inherited from class de.bsvrz.ars.ars.mgmt.tasks.AbstractTask
getArchMgr, getObjectsFromDav, shouldTerminate, suspendTaskIfNecessary, terminateTask
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
test_totalDID
public static long test_totalDIDdamit man nach dem cleanup noch zu testzwecken auf die ergebnisse zugreifen kann: -
test_badDID
public static long test_badDID -
test_goodDID
public static long test_goodDID -
test_viscont
public static long test_viscont
-
-
Constructor Details
-
RestorePersDirTsk
-
-
Method Details
-
getMaxArchiveTime
public long getMaxArchiveTime() -
getMaxContID
public long getMaxContID() -
getMaxMedienID
public int getMaxMedienID() -
getTotalDID
public long getTotalDID() -
getBadDID
public long getBadDID() -
getGoodDID
public long getGoodDID() -
getContainerRead
public long getContainerRead() -
getContainerIgnored
public long getContainerIgnored() -
getIndexCreated
public long getIndexCreated() -
getIndexDeleted
public long getIndexDeleted() -
getErrorCount
public long getErrorCount() -
success
public boolean success()- Returns:
- Wahr, falls kein Verzeichnis nicht wiederhergestellt werden konnte, falsch sonst
-
execute
public void execute()Durchlaueft mit Hilfe einesDataIdentificationDirWalk
jedes Verzeichnis und stellt die Verwaltungsinformation wieder her.
-