public static interface TypeConverterRegistry.Statistics
Modifier and Type | Method and Description |
---|---|
long |
getAttemptCounter()
Number of type conversion 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
|
long |
getNoopCounter()
Number of noop attempts (no type conversion was needed)
|
boolean |
isStatisticsEnabled()
Whether statistics is enabled.
|
void |
reset()
Reset the counters
|
void |
setStatisticsEnabled(boolean statisticsEnabled)
Sets whether statistics is enabled.
|
long getNoopCounter()
long getAttemptCounter()
long getHitCounter()
long getMissCounter()
long getFailedCounter()
void reset()
boolean isStatisticsEnabled()
void setStatisticsEnabled(boolean statisticsEnabled)
statisticsEnabled
- true to enableApache Camel