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
@ManagedResource(description="Managed ProducerCache")
public class ManagedProducerCache
- extends ManagedService
- Version:
| Methods inherited from class org.apache.camel.management.mbean.ManagedService |
getCamelId, getContext, getInstance, getRoute, getRouteId, getService, getState, init, 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 |
ManagedProducerCache
public ManagedProducerCache(CamelContext context,
ProducerCache producerCache)
getProducerCache
public ProducerCache getProducerCache()
getSource
@ManagedAttribute(description="Source")
public String getSource()
getSize
@ManagedAttribute(description="Number of elements cached")
public Integer getSize()
getMaximumCacheSize
@ManagedAttribute(description="Maximum cache size (capacity)")
public Integer getMaximumCacheSize()
Apache CAMEL