edu.duke.cs.banjo.learner.components
Class Recorder
java.lang.Object
edu.duke.cs.banjo.learner.components.Recorder
- All Implemented Interfaces:
- RecorderI
- Direct Known Subclasses:
- RecorderStandard
- public abstract class Recorder
- extends java.lang.Object
- implements RecorderI
Combines the common code shared by the different statistics implementations.
Details:
Change History:
Created May 10, 2004
- Author:
- Jurgen Sladeczek (hjs)
For the latest info, please visit www.cs.duke.edu.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statisticsBuffer
protected volatile java.lang.StringBuffer statisticsBuffer
resultBuffer
protected volatile java.lang.StringBuffer resultBuffer
summaryBuffer
protected volatile java.lang.StringBuffer summaryBuffer
traceBuffer
protected volatile java.lang.StringBuffer traceBuffer
outputFileFlags
protected java.util.Collection outputFileFlags
outputResultsOnly
protected java.util.Collection outputResultsOnly
outputTraceOnly
protected java.util.Collection outputTraceOnly
outputSummaryOnly
protected java.util.Collection outputSummaryOnly
outputToAllFiles
protected java.util.Collection outputToAllFiles
processData
protected final Settings processData
timeFormat
protected java.text.DateFormat timeFormat
strHeader
private static final java.lang.String strHeader
Recorder
public Recorder(Settings _processData)
throws java.lang.Exception
commitData
protected void commitData(java.util.Collection _outputFileFlags,
java.lang.StringBuffer _textToCommit)
throws java.lang.Exception
- Throws:
java.lang.Exception
recordInitialData
public void recordInitialData(SearcherI searcher)
throws java.lang.Exception
- Specified by:
recordInitialData
in interface RecorderI
- Throws:
java.lang.Exception
collectFeedback
protected java.lang.StringBuffer collectFeedback()
throws java.lang.Exception
- Throws:
java.lang.Exception
recordFinalData
public void recordFinalData(SearcherI searcher)
throws java.lang.Exception
- Specified by:
recordFinalData
in interface RecorderI
- Throws:
java.lang.Exception
recordRecurringData
public abstract void recordRecurringData(SearcherI searcher)
throws java.lang.Exception
- Specified by:
recordRecurringData
in interface RecorderI
- Throws:
java.lang.Exception
recordSpecifiedData
public abstract void recordSpecifiedData(java.lang.StringBuffer dataToRecord)
throws java.lang.Exception
- Specified by:
recordSpecifiedData
in interface RecorderI
- Throws:
java.lang.Exception