|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.application.areca.context.ProcessContext
public class ProcessContext
Field Summary | |
---|---|
protected java.lang.String |
backupScheme
|
protected ArchiveContentAdapter |
contentAdapter
Archive content adapter (used for read/write operations) |
protected java.util.ArrayList |
contentIterators
Iterator used by delta handlers to locate the HashSequence |
protected java.io.File |
currentArchiveFile
Archive being written |
protected ProcessReport |
currentReport
Report being built during the process |
protected FileSystemIterator |
fileSystemIterator
|
protected ArchiveContentAdapter |
hashAdapter
|
protected long |
inputBytes
Written bytes |
protected boolean |
isInitialized
Tell whether the context have been initialized or not |
protected Manifest |
manifest
Manifest |
protected MeteredOutputStreamListener |
outputStreamListener
|
protected java.util.Properties |
overridenDynamicProperties
|
protected java.io.File |
recoveryDestination
|
protected TraceFileIterator |
referenceTrace
Trace file - as of last backup |
protected int |
rootCount
Nr of sources to store |
protected ArchiveContentAdapter |
sequenceAdapter
|
protected java.util.Map |
sequenceRoots
|
protected java.util.ArrayList |
simulationResult
|
protected ArchiveTraceAdapter |
traceAdapter
Trace writer |
Constructor Summary | |
---|---|
ProcessContext(AbstractRecoveryTarget target,
UserInformationChannel channel)
|
|
ProcessContext(AbstractRecoveryTarget target,
UserInformationChannel channel,
TaskMonitor taskMonitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File currentArchiveFile
protected ArchiveTraceAdapter traceAdapter
protected ArchiveContentAdapter contentAdapter
protected ArchiveContentAdapter hashAdapter
protected ArchiveContentAdapter sequenceAdapter
protected long inputBytes
protected TraceFileIterator referenceTrace
protected boolean isInitialized
protected Manifest manifest
protected int rootCount
protected java.util.Properties overridenDynamicProperties
protected ProcessReport currentReport
protected FileSystemIterator fileSystemIterator
protected java.util.ArrayList contentIterators
protected java.lang.String backupScheme
protected java.util.Map sequenceRoots
protected java.io.File recoveryDestination
protected java.util.ArrayList simulationResult
protected MeteredOutputStreamListener outputStreamListener
Constructor Detail |
---|
public ProcessContext(AbstractRecoveryTarget target, UserInformationChannel channel)
public ProcessContext(AbstractRecoveryTarget target, UserInformationChannel channel, TaskMonitor taskMonitor)
Method Detail |
---|
public void reset(boolean operationalOnly)
public ArchiveContentAdapter getContentAdapter()
public java.io.File getRecoveryDestination()
public java.util.ArrayList getSimulationResult()
public void setSimulationResult(java.util.ArrayList simulationResult)
public void setRecoveryDestination(java.io.File recoveryDestination)
public MeteredOutputStreamListener getOutputStreamListener()
public java.util.Map getSequenceRoots()
public java.util.ArrayList getContentIterators()
public java.lang.String getBackupScheme()
public void setBackupScheme(java.lang.String backupScheme)
public void setContentAdapter(ArchiveContentAdapter contentAdapter)
public ArchiveContentAdapter getSequenceAdapter()
public void setSequenceAdapter(ArchiveContentAdapter sequenceAdapter)
public java.io.File getCurrentArchiveFile()
public java.util.List getInvalidRecoveredFiles()
public java.util.List getUncheckedRecoveredFiles()
public java.util.Properties getOverridenDynamicProperties()
public void setCurrentArchiveFile(java.io.File currentArchiveFile)
public TraceFileIterator getReferenceTrace()
public void setReferenceTrace(TraceFileIterator referenceTrace)
public ArchiveContentAdapter getHashAdapter()
public void setHashAdapter(ArchiveContentAdapter hashAdapter)
public ArchiveTraceAdapter getTraceAdapter()
public void setTraceAdapter(ArchiveTraceAdapter traceAdapter)
public boolean isInitialized()
public void setInitialized()
public ArchiveWriter getArchiveWriter()
public void setArchiveWriter(ArchiveWriter archive)
public Manifest getManifest()
public void setManifest(Manifest manifest)
public ProcessReport getReport()
public ContentFileIterator getPreviousHashIterator()
public void setPreviousHashIterator(ContentFileIterator previousHashIterator)
public void addInputBytes(long w)
public long getInputBytesInKB()
public long getInputBytesInKBPerSecond()
public long getOutputBytesInKB()
public long getOutputBytesInKBPerSecond()
public FileSystemIterator getFileSystemIterator()
public void setFileSystemIterator(FileSystemIterator fileSystemIterator)
public UserInformationChannel getInfoChannel()
public TaskMonitor getTaskMonitor()
public int getRootCount()
public void setRootCount(int rootCount)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |