Interface ManagedExchangeFactoryManagerMBean
-
- All Superinterfaces:
ManagedServiceMBean
public interface ManagedExchangeFactoryManagerMBean extends ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getCapacity()
Integer
getConsumerCounter()
Boolean
getStatisticsEnabled()
Long
getTotalAcquired()
Long
getTotalCreated()
Long
getTotalDiscarded()
Integer
getTotalPooled()
Long
getTotalReleased()
TabularData
listStatistics()
void
purge()
void
resetStatistics()
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
-
getConsumerCounter
@ManagedAttribute(description="Number of consumers managed") Integer getConsumerCounter()
-
getCapacity
@ManagedAttribute(description="Max capacity per consumer for exchange pooling") Integer getCapacity()
-
getStatisticsEnabled
@ManagedAttribute(description="Whether statistics is enabled") Boolean getStatisticsEnabled()
-
setStatisticsEnabled
@ManagedAttribute(description="Whether statistics is enabled") void setStatisticsEnabled(Boolean statisticsEnabled)
-
resetStatistics
@ManagedOperation(description="Reset statistics") void resetStatistics()
-
purge
@ManagedOperation(description="Purges the pool") void purge()
-
getTotalPooled
@ManagedAttribute(description="Total number of currently pooled exchanges (if pooling is in use)") Integer getTotalPooled()
-
getTotalCreated
@ManagedAttribute(description="Total number of new exchanges created") Long getTotalCreated()
-
getTotalAcquired
@ManagedAttribute(description="Total number of exchanges reused (if pooling is in use)") Long getTotalAcquired()
-
getTotalReleased
@ManagedAttribute(description="Total number of exchanges released back to the pool") Long getTotalReleased()
-
getTotalDiscarded
@ManagedAttribute(description="Total number of exchanges discarded (such as when capacity is full)") Long getTotalDiscarded()
-
listStatistics
@ManagedOperation(description="Lists all the statistics in tabular form") TabularData listStatistics()
-
-