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
public class StatisticsVisitorCallbackToXML
extends Object
implements com.helger.commons.statistics.util.IStatisticsVisitorCallback
Special implementation of the
IStatisticsVisitorCallback interface
that fills a micro element with all current values- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoot()voidvoidvoidonKeyedCounter(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) voidvoid
-
Constructor Details
-
StatisticsVisitorCallbackToXML
-
-
Method Details
-
getRoot
- Returns:
- The root element passed in the constructor. Never
null.
-
onCache
- Specified by:
onCachein interfacecom.helger.commons.statistics.util.IStatisticsVisitorCallback
-
onTimer
- 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
- 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
-