Package com.helger.xml.util.statistics
Class StatisticsVisitorCallbackToXML
- java.lang.Object
-
- com.helger.xml.util.statistics.StatisticsVisitorCallbackToXML
-
- All Implemented Interfaces:
com.helger.commons.callback.ICallback,com.helger.commons.statistics.util.IStatisticsVisitorCallback,Serializable
public class StatisticsVisitorCallbackToXML extends Object implements com.helger.commons.statistics.util.IStatisticsVisitorCallback
Special implementation of theIStatisticsVisitorCallbackinterface that fills a micro element with all current values- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatisticsVisitorCallbackToXML(IMicroElement eRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMicroElementgetRoot()voidonCache(String sName, com.helger.commons.statistics.IStatisticsHandlerCache aHandler)voidonCounter(String sName, com.helger.commons.statistics.IStatisticsHandlerCounter aHandler)voidonKeyedCounter(String sName, com.helger.commons.statistics.IStatisticsHandlerKeyedCounter aHandler)voidonKeyedSize(String sName, com.helger.commons.statistics.IStatisticsHandlerKeyedSize aHandler)voidonKeyedTimer(String sName, com.helger.commons.statistics.IStatisticsHandlerKeyedTimer aHandler)voidonSize(String sName, com.helger.commons.statistics.IStatisticsHandlerSize aHandler)voidonTimer(String sName, com.helger.commons.statistics.IStatisticsHandlerTimer aHandler)
-
-
-
Constructor Detail
-
StatisticsVisitorCallbackToXML
public StatisticsVisitorCallbackToXML(@Nonnull IMicroElement eRoot)
-
-
Method Detail
-
getRoot
@Nonnull public IMicroElement getRoot()
- Returns:
- The root element passed in the constructor. Never
null.
-
onCache
public void onCache(String sName, com.helger.commons.statistics.IStatisticsHandlerCache aHandler)
- Specified by:
onCachein interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onTimer
public void onTimer(String sName, com.helger.commons.statistics.IStatisticsHandlerTimer aHandler)
- Specified by:
onTimerin interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onKeyedTimer
public void onKeyedTimer(String sName, com.helger.commons.statistics.IStatisticsHandlerKeyedTimer aHandler)
- Specified by:
onKeyedTimerin interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onSize
public void onSize(String sName, com.helger.commons.statistics.IStatisticsHandlerSize aHandler)
- Specified by:
onSizein interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onKeyedSize
public void onKeyedSize(String sName, com.helger.commons.statistics.IStatisticsHandlerKeyedSize aHandler)
- Specified by:
onKeyedSizein interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onCounter
public void onCounter(String sName, com.helger.commons.statistics.IStatisticsHandlerCounter aHandler)
- Specified by:
onCounterin interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onKeyedCounter
public void onKeyedCounter(String sName, com.helger.commons.statistics.IStatisticsHandlerKeyedCounter aHandler)
- Specified by:
onKeyedCounterin interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
-