org.apache.camel.management.mbean
Class ManagedProducerCache

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedService
      extended by org.apache.camel.management.mbean.ManagedProducerCache

@ManagedResource(description="Managed ProducerCache")
public class ManagedProducerCache
extends ManagedService

Version:
$Revision: 18647 $

Constructor Summary
ManagedProducerCache(CamelContext context, ProducerCache producerCache)
           
 
Method Summary
 Integer getMaximumCacheSize()
           
 ProducerCache getProducerCache()
           
 Integer getSize()
           
 String getSource()
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedService
getCamelId, getContext, 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
 

Constructor Detail

ManagedProducerCache

public ManagedProducerCache(CamelContext context,
                            ProducerCache producerCache)
Method Detail

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