Interface ManagedTypeConverterRegistryMBean
-
- All Superinterfaces:
ManagedServiceMBean
public interface ManagedTypeConverterRegistryMBean extends ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAttemptCounter()
long
getFailedCounter()
long
getHitCounter()
long
getMissCounter()
long
getNoopCounter()
int
getNumberOfTypeConverters()
String
getTypeConverterExists()
String
getTypeConverterExistsLoggingLevel()
boolean
hasTypeConverter(String fromType, String toType)
boolean
isStatisticsEnabled()
void
resetTypeConversionCounters()
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 Detail
-
getNoopCounter
@ManagedAttribute(description="Number of noop attempts (no type conversion was needed)") long getNoopCounter()
-
getAttemptCounter
@ManagedAttribute(description="Number of type conversion attempts") long 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
@ManagedAttribute(description="Utilization statistics enabled") boolean 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)
-
-