org.dozer.stats
Interface StatisticsManager

All Known Implementing Classes:
StatisticsManagerImpl

public interface StatisticsManager

Internal interface for managing statistics. Only intended for internal use.

Author:
tierney.matt

Method Summary
 void clearAll()
           
 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)
           
 boolean isStatisticsEnabled()
           
 void logStatistics()
           
 void setStatisticsEnabled(boolean statisticsEnabled)
           
 

Method Detail

getStatistics

Set<Statistic> getStatistics()

getStatisticValue

long getStatisticValue(StatisticType statisticType)

getStatisticValue

long getStatisticValue(StatisticType statisticType,
                       Object entryKey)

clearAll

void clearAll()

getStatisticEntries

Set<StatisticEntry> getStatisticEntries(StatisticType statisticType)

getStatisticTypes

Set<StatisticType> getStatisticTypes()

isStatisticsEnabled

boolean isStatisticsEnabled()

setStatisticsEnabled

void setStatisticsEnabled(boolean statisticsEnabled)

logStatistics

void logStatistics()

increment

Statistic increment(StatisticType statisticType)

increment

Statistic increment(StatisticType statisticType,
                    long value)

increment

Statistic increment(StatisticType statisticType,
                    Object statisticEntryKey)


Copyright © 2005-2011 dozer. All Rights Reserved.