org.apache.camel.management.mbean
Class ManagedProducerCache
java.lang.Object
org.apache.camel.management.mbean.ManagedService
org.apache.camel.management.mbean.ManagedProducerCache
- All Implemented Interfaces:
- ManagedInstance, ManagedProducerCacheMBean, ManagedServiceMBean
@ManagedResource(description="Managed ProducerCache")
public class ManagedProducerCache
- extends ManagedService
- implements ManagedProducerCacheMBean
- Version:
Methods inherited from class org.apache.camel.management.mbean.ManagedService |
getCamelId, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean |
getCamelId, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend |
ManagedProducerCache
public ManagedProducerCache(CamelContext context,
ProducerCache producerCache)
getProducerCache
public ProducerCache getProducerCache()
getSource
public String getSource()
- Specified by:
getSource
in interface ManagedProducerCacheMBean
getSize
public Integer getSize()
- Specified by:
getSize
in interface ManagedProducerCacheMBean
getMaximumCacheSize
public Integer getMaximumCacheSize()
- Specified by:
getMaximumCacheSize
in interface ManagedProducerCacheMBean
getHits
public Long getHits()
- Specified by:
getHits
in interface ManagedProducerCacheMBean
getMisses
public Long getMisses()
- Specified by:
getMisses
in interface ManagedProducerCacheMBean
getEvicted
public Long getEvicted()
- Specified by:
getEvicted
in interface ManagedProducerCacheMBean
resetStatistics
public void resetStatistics()
- Specified by:
resetStatistics
in interface ManagedProducerCacheMBean
purge
public void purge()
- Specified by:
purge
in interface ManagedProducerCacheMBean
isEventNotifierEnabled
public Boolean isEventNotifierEnabled()
- Specified by:
isEventNotifierEnabled
in interface ManagedProducerCacheMBean
Apache Camel