public final class StatisticsManagerImpl extends Object implements StatisticsManager
| Constructor and Description |
|---|
StatisticsManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAll() |
protected Statistic |
getStatistic(StatisticType statisticType) |
Set<StatisticEntry> |
getStatisticEntries(StatisticType statisticType) |
Set<Statistic> |
getStatistics() |
Set<StatisticType> |
getStatisticTypes() |
long |
getStatisticValue(StatisticType statisticType) |
long |
getStatisticValue(StatisticType statisticType,
Object entryKey) |
Statistic |
increment(StatisticType statisticType) |
Statistic |
increment(StatisticType statisticType,
long value) |
Statistic |
increment(StatisticType statisticType,
Object statisticEntryKey) |
protected Statistic |
increment(StatisticType statisticType,
Object statisticEntryKey,
long value) |
boolean |
isStatisticsEnabled() |
void |
logStatistics() |
void |
setStatisticsEnabled(boolean statisticsEnabled) |
public void clearAll()
clearAll in interface StatisticsManagerpublic Set<StatisticEntry> getStatisticEntries(StatisticType statisticType)
getStatisticEntries in interface StatisticsManagerpublic Set<Statistic> getStatistics()
getStatistics in interface StatisticsManagerpublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface StatisticsManagerpublic void setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled in interface StatisticsManagerpublic Set<StatisticType> getStatisticTypes()
getStatisticTypes in interface StatisticsManagerpublic Statistic increment(StatisticType statisticType)
increment in interface StatisticsManagerpublic Statistic increment(StatisticType statisticType, long value)
increment in interface StatisticsManagerpublic Statistic increment(StatisticType statisticType, Object statisticEntryKey)
increment in interface StatisticsManagerprotected Statistic increment(StatisticType statisticType, Object statisticEntryKey, long value)
protected Statistic getStatistic(StatisticType statisticType)
public long getStatisticValue(StatisticType statisticType)
getStatisticValue in interface StatisticsManagerpublic long getStatisticValue(StatisticType statisticType, Object entryKey)
getStatisticValue in interface StatisticsManagerpublic void logStatistics()
logStatistics in interface StatisticsManagerCopyright © 2005-2014 dozer. All Rights Reserved.