com.ricebridge.xmlman.in
Class MutableStats

java.lang.Object
  extended bycom.ricebridge.xmlman.Stats
      extended bycom.ricebridge.xmlman.in.MutableStats

public class MutableStats
extends Stats

Mutable Stats subclass used internally to update statistics values.


Field Summary
 
Fields inherited from class com.ricebridge.xmlman.Stats
iBadRecords, iEndDate, iStartDate, iTotalRecords
 
Constructor Summary
MutableStats()
           
 
Method Summary
protected  void addBadRecord()
          Count bad record.
protected  void addRecord()
          Count new record.
 void clear()
          Clear the statistics.
protected  void endProcess()
          Mark end of process.
protected  void startProcess()
          Mark start of process.
 
Methods inherited from class com.ricebridge.xmlman.Stats
getAverageTimePerRecordInSeconds, getEndDate, getStartDate, getSummary, getTimeTaken, getTimeTakenInSeconds, getTotalBadRecords, getTotalRecords, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableStats

public MutableStats()
Method Detail

clear

public void clear()
Clear the statistics.

Overrides:
clear in class Stats

startProcess

protected void startProcess()
Mark start of process.


endProcess

protected void endProcess()
Mark end of process.


addRecord

protected void addRecord()
Count new record.


addBadRecord

protected void addBadRecord()
Count bad record.



Copyright © 2004-2005 Ricebridge