org.apache.camel.api.management.mbean
Interface ManagedTypeConverterRegistryMBean

All Superinterfaces:
ManagedServiceMBean
All Known Implementing Classes:
ManagedTypeConverterRegistry

public interface ManagedTypeConverterRegistryMBean
extends ManagedServiceMBean


Method Summary
 long getAttemptCounter()
           
 long getFailedCounter()
           
 long getHitCounter()
           
 long getMissCounter()
           
 int getNumberOfTypeConverters()
           
 boolean hasTypeConverter(String fromType, String toType)
           
 boolean isStatisticsEnabled()
           
 TabularData listTypeConverters()
           
 void resetTypeConversionCounters()
           
 void setStatisticsEnabled(boolean statisticsEnabled)
           
 
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
 

Method Detail

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()

hasTypeConverter

@ManagedOperation(description="Checks whether a type converter exists for converting (from -> to)")
boolean hasTypeConverter(String fromType,
                                                     String toType)

listTypeConverters

@ManagedOperation(description="Lists all the type converters in the registry (from -> to)")
TabularData listTypeConverters()


Apache Camel