Interface ManagedTypeConverterRegistryMBean
- All Superinterfaces:
ManagedServiceMBean
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
int
boolean
hasTypeConverter
(String fromType, String toType) boolean
void
void
setStatisticsEnabled
(boolean statisticsEnabled) Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
Method Details
-
getNoopCounter
@ManagedAttribute(description="Number of noop attempts (no type conversion was needed)") long getNoopCounter() -
getAttemptCounter
-
getHitCounter
@ManagedAttribute(description="Number of type conversion hits (successful conversions)") long getHitCounter() -
getMissCounter
@ManagedAttribute(description="Number of type conversion misses (no suitable type converter)") long getMissCounter() -
getFailedCounter
@ManagedAttribute(description="Number of type conversion failures (failed conversions)") long getFailedCounter() -
resetTypeConversionCounters
@ManagedOperation(description="Resets the type conversion counters") void resetTypeConversionCounters() -
isStatisticsEnabled
-
setStatisticsEnabled
@ManagedAttribute(description="Utilization statistics enabled") void setStatisticsEnabled(boolean statisticsEnabled) -
getNumberOfTypeConverters
@ManagedAttribute(description="Number of type converters in the registry") int getNumberOfTypeConverters() -
getTypeConverterExistsLoggingLevel
@ManagedAttribute(description="Logging level to use if attempting to add a duplicate type converter") String getTypeConverterExistsLoggingLevel() -
getTypeConverterExists
@ManagedAttribute(description="What to do if attempting to add a duplicate type converter (Override, Ignore or Fail)") String getTypeConverterExists() -
hasTypeConverter
@ManagedOperation(description="Checks whether a type converter exists for converting (from -> to)") boolean hasTypeConverter(String fromType, String toType)
-