org.apache.camel.api.management.mbean
Interface ManagedProducerCacheMBean
- All Superinterfaces:
- ManagedServiceMBean
- All Known Implementing Classes:
- ManagedProducerCache
public interface ManagedProducerCacheMBean
- extends ManagedServiceMBean
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean |
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend |
getSource
@ManagedAttribute(description="Source")
String getSource()
getSize
@ManagedAttribute(description="Number of elements cached")
Integer getSize()
getMaximumCacheSize
@ManagedAttribute(description="Maximum cache size (capacity)")
Integer getMaximumCacheSize()
getHits
@ManagedAttribute(description="Cache hits")
Long getHits()
getMisses
@ManagedAttribute(description="Cache misses")
Long getMisses()
getEvicted
@ManagedAttribute(description="Cache evicted")
Long getEvicted()
resetStatistics
@ManagedOperation(description="Reset cache statistics")
void resetStatistics()
purge
@ManagedOperation(description="Purges the cache")
void purge()
isEventNotifierEnabled
@ManagedAttribute(description="EventNotifier enabled")
Boolean isEventNotifierEnabled()
Apache Camel