@ManagedResource(description="Managed ExchangeFactory") public class ManagedExchangeFactoryManager extends ManagedService implements org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
Constructor and Description |
---|
ManagedExchangeFactoryManager(org.apache.camel.CamelContext context,
org.apache.camel.spi.ExchangeFactoryManager exchangeFactoryManager) |
Modifier and Type | Method and Description |
---|---|
Integer |
getCapacity() |
Integer |
getConsumerCounter() |
Boolean |
getStatisticsEnabled() |
Long |
getTotalAcquired() |
Long |
getTotalCreated() |
Long |
getTotalDiscarded() |
Integer |
getTotalPooled() |
Long |
getTotalReleased() |
void |
init(org.apache.camel.spi.ManagementStrategy strategy) |
TabularData |
listStatistics() |
void |
purge() |
void |
resetStatistics() |
void |
setStatisticsEnabled(Boolean statisticsEnabled) |
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
public ManagedExchangeFactoryManager(org.apache.camel.CamelContext context, org.apache.camel.spi.ExchangeFactoryManager exchangeFactoryManager)
public void init(org.apache.camel.spi.ManagementStrategy strategy)
init
in class ManagedService
public Integer getConsumerCounter()
getConsumerCounter
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Integer getTotalPooled()
getTotalPooled
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Integer getCapacity()
getCapacity
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Boolean getStatisticsEnabled()
getStatisticsEnabled
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public void setStatisticsEnabled(Boolean statisticsEnabled)
setStatisticsEnabled
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public void resetStatistics()
resetStatistics
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public void purge()
purge
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Long getTotalCreated()
getTotalCreated
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Long getTotalAcquired()
getTotalAcquired
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Long getTotalReleased()
getTotalReleased
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public Long getTotalDiscarded()
getTotalDiscarded
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
public TabularData listStatistics()
listStatistics
in interface org.apache.camel.api.management.mbean.ManagedExchangeFactoryManagerMBean
Apache Camel