Apache CXF API

org.apache.cxf.workqueue
Class WorkQueueImplMBeanWrapper

java.lang.Object
  extended by org.apache.cxf.workqueue.WorkQueueImplMBeanWrapper
All Implemented Interfaces:
ManagedComponent

@ManagedResource(componentName="WorkQueue",
                 description="The CXF work queue",
                 currencyTimeLimit=15,
                 persistPolicy="OnUpdate",
                 persistPeriod=200)
public class WorkQueueImplMBeanWrapper
extends java.lang.Object
implements ManagedComponent


Constructor Summary
WorkQueueImplMBeanWrapper(AutomaticWorkQueueImpl wq)
           
 
Method Summary
 int getHighWaterMark()
           
 int getLowWaterMark()
           
 javax.management.ObjectName getObjectName()
           
 long getWorkQueueMaxSize()
           
 long getWorkQueueSize()
           
 boolean isEmpty()
           
 boolean isFull()
           
 void setHighWaterMark(int hwm)
           
 void setLowWaterMark(int lwm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkQueueImplMBeanWrapper

public WorkQueueImplMBeanWrapper(AutomaticWorkQueueImpl wq)
Method Detail

getWorkQueueMaxSize

@ManagedAttribute(description="The WorkQueueMaxSize",
                  persistPolicy="OnUpdate")
public long getWorkQueueMaxSize()

getWorkQueueSize

@ManagedAttribute(description="The WorkQueue Current size",
                  persistPolicy="OnUpdate")
public long getWorkQueueSize()

isEmpty

@ManagedAttribute(description="The WorkQueue has nothing to do",
                  persistPolicy="OnUpdate")
public boolean isEmpty()

isFull

@ManagedAttribute(description="The WorkQueue is very busy")
public boolean isFull()

getHighWaterMark

@ManagedAttribute(description="The WorkQueue HighWaterMark",
                  persistPolicy="OnUpdate")
public int getHighWaterMark()

setHighWaterMark

public void setHighWaterMark(int hwm)

getLowWaterMark

@ManagedAttribute(description="The WorkQueue LowWaterMark",
                  persistPolicy="OnUpdate")
public int getLowWaterMark()

setLowWaterMark

public void setLowWaterMark(int lwm)

getObjectName

public javax.management.ObjectName getObjectName()
                                          throws javax.management.JMException
Specified by:
getObjectName in interface ManagedComponent
Throws:
javax.management.JMException

Apache CXF API

Apache CXF