org.weborganic.bastille.system
Class BerliozStatisticsCollector.BasicStats
java.lang.Object
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.
update
public void update(ContentStatus status,
long etag,
long process)
- Update the statistics.
- Parameters:
status
- The content statusetag
- The getEtag() function time in nano secondsprocess
- The process() function time in nano seconds
toXML
public void toXML(XMLWriter xml)
throws IOException
- Specified by:
toXML
in interface XMLWritable
- Throws:
IOException