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 DozerStatisticsControllerMBean
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface DozerStatisticsControllerMBean
public void setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in interface DozerStatisticsControllerMBean
public long getMappingSuccessCount()
getMappingSuccessCount
in interface DozerStatisticsControllerMBean
public long getMappingFailureCount()
getMappingFailureCount
in interface DozerStatisticsControllerMBean
public long getMapperInstancesCount()
getMapperInstancesCount
in interface DozerStatisticsControllerMBean
public long getMappingOverallTimeInMillis()
getMappingOverallTimeInMillis
in interface DozerStatisticsControllerMBean
public Set<String> getMappingFailureExceptionTypes()
getMappingFailureExceptionTypes
in interface DozerStatisticsControllerMBean
public Set<String> getMappingFailureTypes()
getMappingFailureTypes
in interface DozerStatisticsControllerMBean
public Set<String> getCacheHitCount()
getCacheHitCount
in interface DozerStatisticsControllerMBean
public Set<String> getCacheMissCount()
getCacheMissCount
in interface DozerStatisticsControllerMBean
public long getFieldMappingSuccessCount()
getFieldMappingSuccessCount
in interface DozerStatisticsControllerMBean
public long getFieldMappingFailureCount()
getFieldMappingFailureCount
in interface DozerStatisticsControllerMBean
public long getFieldMappingFailureIgnoredCount()
getFieldMappingFailureIgnoredCount
in interface DozerStatisticsControllerMBean
public long getCustomConverterSuccessCount()
getCustomConverterSuccessCount
in interface DozerStatisticsControllerMBean
public long getCustomConverterOverallTimeInMillis()
getCustomConverterOverallTimeInMillis
in interface DozerStatisticsControllerMBean
public double getMappingAverageTimeInMillis()
getMappingAverageTimeInMillis
in interface DozerStatisticsControllerMBean
public double getCustomConverterAverageTimeInMillis()
getCustomConverterAverageTimeInMillis
in interface DozerStatisticsControllerMBean
public double getCustomConverterPercentageOfMappingTime()
getCustomConverterPercentageOfMappingTime
in interface DozerStatisticsControllerMBean
protected Set<String> getStatisticEntries(StatisticType statisticType)
public void logStatistics()
logStatistics
in interface DozerStatisticsControllerMBean
public String dumpStatistics()
dumpStatistics
in interface DozerStatisticsControllerMBean
protected long getStatisticValue(StatisticType statisticType)
Copyright © 2005-2014 dozer. All Rights Reserved.