org.weborganic.bastille.system
Class BerliozStatisticsCollector.BasicStats

java.lang.Object
  extended by org.weborganic.bastille.system.BerliozStatisticsCollector.BasicStats
All Implemented Interfaces:
XMLWritable
Enclosing class:
BerliozStatisticsCollector

public static final class BerliozStatisticsCollector.BasicStats
extends Object
implements XMLWritable

Holds basic statistics about a generator.


Method Summary
 void toXML(XMLWriter xml)
           
 void update(ContentStatus status, long etag, long process)
          Update the statistics.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

update

public void update(ContentStatus status,
                   long etag,
                   long process)
Update the statistics.

Parameters:
status - The content status
etag - The getEtag() function time in nano seconds
process - The process() function time in nano seconds

toXML

public void toXML(XMLWriter xml)
           throws IOException
Specified by:
toXML in interface XMLWritable
Throws:
IOException