org.apache.camel.spi
Interface TypeConverterRegistry.Statistics

Enclosing interface:
TypeConverterRegistry

public static interface TypeConverterRegistry.Statistics

Utilization statistics of the this registry.


Method Summary
 long getAttemptCounter()
          Number of attempts
 long getFailedCounter()
          Number of failed attempts during type conversion
 long getHitCounter()
          Number of successful conversions
 long getMissCounter()
          Number of attempts which cannot be converted as no suitable type converter exists
 boolean isStatisticsEnabled()
          Whether statistics is enabled.
 void reset()
          Reset the counters
 void setStatisticsEnabled(boolean statisticsEnabled)
          Sets whether statistics is enabled.
 

Method Detail

getAttemptCounter

long getAttemptCounter()
Number of attempts


getHitCounter

long getHitCounter()
Number of successful conversions


getMissCounter

long getMissCounter()
Number of attempts which cannot be converted as no suitable type converter exists


getFailedCounter

long getFailedCounter()
Number of failed attempts during type conversion


reset

void reset()
Reset the counters


isStatisticsEnabled

boolean isStatisticsEnabled()
Whether statistics is enabled.


setStatisticsEnabled

void setStatisticsEnabled(boolean statisticsEnabled)
Sets whether statistics is enabled.

Parameters:
statisticsEnabled - true to enable


Apache CAMEL