org.weborganic.bastille.system
Class BerliozStatisticsCollector
java.lang.Object
org.weborganic.bastille.system.BerliozStatisticsCollector
- All Implemented Interfaces:
- XMLWritable, GeneratorListener
public final class BerliozStatisticsCollector
- extends Object
- implements GeneratorListener, XMLWritable
Collects basic statistics about generators.
generate
public void generate(Service service,
ContentGenerator generator,
ContentStatus status,
long etag,
long process)
- Specified by:
generate
in interface GeneratorListener
clear
public void clear()
- Clears all the statistics.
getInstance
public static BerliozStatisticsCollector getInstance()
- Returns:
- The singleton instance.
toXML
public void toXML(XMLWriter xml)
throws IOException
- Specified by:
toXML
in interface XMLWritable
- Throws:
IOException