org.dozer.stats
Class StatisticsManagerImpl
java.lang.Object
org.dozer.stats.StatisticsManagerImpl
- All Implemented Interfaces:
- StatisticsManager
public final class StatisticsManagerImpl
- extends Object
- implements StatisticsManager
Internal class that manages the Dozer runtime statistics. Only intended for internal use.
- Author:
- tierney.matt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsManagerImpl
public StatisticsManagerImpl()
clearAll
public void clearAll()
- Specified by:
clearAll in interface StatisticsManager
getStatisticEntries
public Set<StatisticEntry> getStatisticEntries(StatisticType statisticType)
- Specified by:
getStatisticEntries in interface StatisticsManager
getStatistics
public Set<Statistic> getStatistics()
- Specified by:
getStatistics in interface StatisticsManager
isStatisticsEnabled
public boolean isStatisticsEnabled()
- Specified by:
isStatisticsEnabled in interface StatisticsManager
setStatisticsEnabled
public void setStatisticsEnabled(boolean statisticsEnabled)
- Specified by:
setStatisticsEnabled in interface StatisticsManager
getStatisticTypes
public Set<StatisticType> getStatisticTypes()
- Specified by:
getStatisticTypes in interface StatisticsManager
increment
public Statistic increment(StatisticType statisticType)
- Specified by:
increment in interface StatisticsManager
increment
public Statistic increment(StatisticType statisticType,
long value)
- Specified by:
increment in interface StatisticsManager
increment
public Statistic increment(StatisticType statisticType,
Object statisticEntryKey)
- Specified by:
increment in interface StatisticsManager
increment
protected Statistic increment(StatisticType statisticType,
Object statisticEntryKey,
long value)
getStatistic
protected Statistic getStatistic(StatisticType statisticType)
getStatisticValue
public long getStatisticValue(StatisticType statisticType)
- Specified by:
getStatisticValue in interface StatisticsManager
getStatisticValue
public long getStatisticValue(StatisticType statisticType,
Object entryKey)
- Specified by:
getStatisticValue in interface StatisticsManager
logStatistics
public void logStatistics()
- Specified by:
logStatistics in interface StatisticsManager
Copyright © 2005-2011 dozer. All Rights Reserved.