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

All Superinterfaces:
ManagedServiceMBean
All Known Implementing Classes:
ManagedProducerCache

public interface ManagedProducerCacheMBean
extends ManagedServiceMBean


Method Summary
 Long getEvicted()
           
 Long getHits()
           
 Integer getMaximumCacheSize()
           
 Long getMisses()
           
 Integer getSize()
           
 String getSource()
           
 Boolean isEventNotifierEnabled()
           
 void purge()
           
 void resetStatistics()
           
 
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

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