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

All Superinterfaces:
ManagedServiceMBean
All Known Implementing Classes:
ManagedConsumerCache

public interface ManagedConsumerCacheMBean
extends ManagedServiceMBean


Method Summary
 Long getEvicted()
           
 Long getHits()
           
 Integer getMaximumCacheSize()
           
 Long getMisses()
           
 Integer getSize()
           
 String getSource()
           
 void purge()
           
 void resetStatistics()
           
 
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getRouteId, getState, 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()


Apache CAMEL