public class DozerStatisticsController extends Object implements DozerStatisticsControllerMBean
| Constructor and Description |
|---|
DozerStatisticsController() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void clearAll()
clearAll in interface DozerStatisticsControllerMBeanpublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface DozerStatisticsControllerMBeanpublic void setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled in interface DozerStatisticsControllerMBeanpublic long getMappingSuccessCount()
getMappingSuccessCount in interface DozerStatisticsControllerMBeanpublic long getMappingFailureCount()
getMappingFailureCount in interface DozerStatisticsControllerMBeanpublic long getMapperInstancesCount()
getMapperInstancesCount in interface DozerStatisticsControllerMBeanpublic long getMappingOverallTimeInMillis()
getMappingOverallTimeInMillis in interface DozerStatisticsControllerMBeanpublic Set<String> getMappingFailureExceptionTypes()
getMappingFailureExceptionTypes in interface DozerStatisticsControllerMBeanpublic Set<String> getMappingFailureTypes()
getMappingFailureTypes in interface DozerStatisticsControllerMBeanpublic Set<String> getCacheHitCount()
getCacheHitCount in interface DozerStatisticsControllerMBeanpublic Set<String> getCacheMissCount()
getCacheMissCount in interface DozerStatisticsControllerMBeanpublic long getFieldMappingSuccessCount()
getFieldMappingSuccessCount in interface DozerStatisticsControllerMBeanpublic long getFieldMappingFailureCount()
getFieldMappingFailureCount in interface DozerStatisticsControllerMBeanpublic long getFieldMappingFailureIgnoredCount()
getFieldMappingFailureIgnoredCount in interface DozerStatisticsControllerMBeanpublic long getCustomConverterSuccessCount()
getCustomConverterSuccessCount in interface DozerStatisticsControllerMBeanpublic long getCustomConverterOverallTimeInMillis()
getCustomConverterOverallTimeInMillis in interface DozerStatisticsControllerMBeanpublic double getMappingAverageTimeInMillis()
getMappingAverageTimeInMillis in interface DozerStatisticsControllerMBeanpublic double getCustomConverterAverageTimeInMillis()
getCustomConverterAverageTimeInMillis in interface DozerStatisticsControllerMBeanpublic double getCustomConverterPercentageOfMappingTime()
getCustomConverterPercentageOfMappingTime in interface DozerStatisticsControllerMBeanprotected Set<String> getStatisticEntries(StatisticType statisticType)
public void logStatistics()
logStatistics in interface DozerStatisticsControllerMBeanpublic String dumpStatistics()
dumpStatistics in interface DozerStatisticsControllerMBeanprotected long getStatisticValue(StatisticType statisticType)
Copyright © 2005-2014 dozer. All Rights Reserved.