org.dozer.jmx
Class DozerStatisticsController

java.lang.Object
  extended by org.dozer.jmx.DozerStatisticsController
All Implemented Interfaces:
DozerStatisticsControllerMBean

public class DozerStatisticsController
extends Object
implements DozerStatisticsControllerMBean

Public Dozer JMX Bean

Author:
tierney.matt

Constructor Summary
DozerStatisticsController()
           
 
Method Summary
 void clearAll()
           
 String dumpStatistics()
           
 Set<String> getCacheHitCount()
           
 Set<String> getCacheMissCount()
           
 double getCustomConverterAverageTimeInMillis()
           
 long getCustomConverterOverallTimeInMillis()
           
 double getCustomConverterPercentageOfMappingTime()
           
 long getCustomConverterSuccessCount()
           
 long getFieldMappingFailureCount()
           
 long getFieldMappingFailureIgnoredCount()
           
 long getFieldMappingSuccessCount()
           
 long getMapperInstancesCount()
           
 double getMappingAverageTimeInMillis()
           
 long getMappingFailureCount()
           
 Set<String> getMappingFailureExceptionTypes()
           
 Set<String> getMappingFailureTypes()
           
 long getMappingOverallTimeInMillis()
           
 long getMappingSuccessCount()
           
protected  Set<String> getStatisticEntries(StatisticType statisticType)
           
protected  long getStatisticValue(StatisticType statisticType)
           
 boolean isStatisticsEnabled()
           
 void logStatistics()
           
 void setStatisticsEnabled(boolean statisticsEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DozerStatisticsController

public DozerStatisticsController()
Method Detail

clearAll

public void clearAll()
Specified by:
clearAll in interface DozerStatisticsControllerMBean

isStatisticsEnabled

public boolean isStatisticsEnabled()
Specified by:
isStatisticsEnabled in interface DozerStatisticsControllerMBean

setStatisticsEnabled

public void setStatisticsEnabled(boolean statisticsEnabled)
Specified by:
setStatisticsEnabled in interface DozerStatisticsControllerMBean

getMappingSuccessCount

public long getMappingSuccessCount()
Specified by:
getMappingSuccessCount in interface DozerStatisticsControllerMBean

getMappingFailureCount

public long getMappingFailureCount()
Specified by:
getMappingFailureCount in interface DozerStatisticsControllerMBean

getMapperInstancesCount

public long getMapperInstancesCount()
Specified by:
getMapperInstancesCount in interface DozerStatisticsControllerMBean

getMappingOverallTimeInMillis

public long getMappingOverallTimeInMillis()
Specified by:
getMappingOverallTimeInMillis in interface DozerStatisticsControllerMBean

getMappingFailureExceptionTypes

public Set<String> getMappingFailureExceptionTypes()
Specified by:
getMappingFailureExceptionTypes in interface DozerStatisticsControllerMBean

getMappingFailureTypes

public Set<String> getMappingFailureTypes()
Specified by:
getMappingFailureTypes in interface DozerStatisticsControllerMBean

getCacheHitCount

public Set<String> getCacheHitCount()
Specified by:
getCacheHitCount in interface DozerStatisticsControllerMBean

getCacheMissCount

public Set<String> getCacheMissCount()
Specified by:
getCacheMissCount in interface DozerStatisticsControllerMBean

getFieldMappingSuccessCount

public long getFieldMappingSuccessCount()
Specified by:
getFieldMappingSuccessCount in interface DozerStatisticsControllerMBean

getFieldMappingFailureCount

public long getFieldMappingFailureCount()
Specified by:
getFieldMappingFailureCount in interface DozerStatisticsControllerMBean

getFieldMappingFailureIgnoredCount

public long getFieldMappingFailureIgnoredCount()
Specified by:
getFieldMappingFailureIgnoredCount in interface DozerStatisticsControllerMBean

getCustomConverterSuccessCount

public long getCustomConverterSuccessCount()
Specified by:
getCustomConverterSuccessCount in interface DozerStatisticsControllerMBean

getCustomConverterOverallTimeInMillis

public long getCustomConverterOverallTimeInMillis()
Specified by:
getCustomConverterOverallTimeInMillis in interface DozerStatisticsControllerMBean

getMappingAverageTimeInMillis

public double getMappingAverageTimeInMillis()
Specified by:
getMappingAverageTimeInMillis in interface DozerStatisticsControllerMBean

getCustomConverterAverageTimeInMillis

public double getCustomConverterAverageTimeInMillis()
Specified by:
getCustomConverterAverageTimeInMillis in interface DozerStatisticsControllerMBean

getCustomConverterPercentageOfMappingTime

public double getCustomConverterPercentageOfMappingTime()
Specified by:
getCustomConverterPercentageOfMappingTime in interface DozerStatisticsControllerMBean

getStatisticEntries

protected Set<String> getStatisticEntries(StatisticType statisticType)

logStatistics

public void logStatistics()
Specified by:
logStatistics in interface DozerStatisticsControllerMBean

dumpStatistics

public String dumpStatistics()
Specified by:
dumpStatistics in interface DozerStatisticsControllerMBean

getStatisticValue

protected long getStatisticValue(StatisticType statisticType)


Copyright © 2005-2011 dozer. All Rights Reserved.