@ManagedResource(description="Managed TypeConverterRegistry") public class ManagedTypeConverterRegistry extends ManagedService implements ManagedTypeConverterRegistryMBean
Constructor and Description |
---|
ManagedTypeConverterRegistry(CamelContext context,
TypeConverterRegistry registry) |
Modifier and Type | Method and Description |
---|---|
long |
getAttemptCounter() |
long |
getBaseHitCounter() |
long |
getFailedCounter() |
long |
getHitCounter() |
long |
getMissCounter() |
long |
getNoopCounter() |
int |
getNumberOfTypeConverters() |
TypeConverterRegistry |
getRegistry() |
String |
getTypeConverterExists() |
String |
getTypeConverterExistsLoggingLevel() |
boolean |
hasTypeConverter(String fromType,
String toType) |
boolean |
isStatisticsEnabled() |
TabularData |
listTypeConverters() |
void |
resetTypeConversionCounters() |
void |
setStatisticsEnabled(boolean statisticsEnabled) |
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
public ManagedTypeConverterRegistry(CamelContext context, TypeConverterRegistry registry)
public TypeConverterRegistry getRegistry()
public long getNoopCounter()
getNoopCounter
in interface ManagedTypeConverterRegistryMBean
public long getAttemptCounter()
getAttemptCounter
in interface ManagedTypeConverterRegistryMBean
public long getHitCounter()
getHitCounter
in interface ManagedTypeConverterRegistryMBean
public long getBaseHitCounter()
getBaseHitCounter
in interface ManagedTypeConverterRegistryMBean
public long getMissCounter()
getMissCounter
in interface ManagedTypeConverterRegistryMBean
public long getFailedCounter()
getFailedCounter
in interface ManagedTypeConverterRegistryMBean
public void resetTypeConversionCounters()
resetTypeConversionCounters
in interface ManagedTypeConverterRegistryMBean
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface ManagedTypeConverterRegistryMBean
public void setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in interface ManagedTypeConverterRegistryMBean
public int getNumberOfTypeConverters()
getNumberOfTypeConverters
in interface ManagedTypeConverterRegistryMBean
public String getTypeConverterExistsLoggingLevel()
getTypeConverterExistsLoggingLevel
in interface ManagedTypeConverterRegistryMBean
public String getTypeConverterExists()
getTypeConverterExists
in interface ManagedTypeConverterRegistryMBean
public boolean hasTypeConverter(String fromType, String toType)
hasTypeConverter
in interface ManagedTypeConverterRegistryMBean
public TabularData listTypeConverters()
listTypeConverters
in interface ManagedTypeConverterRegistryMBean
Apache Camel