org.apache.cxf.workqueue
Class WorkQueueManagerImplMBeanWrapper
java.lang.Object
org.apache.cxf.workqueue.WorkQueueManagerImplMBeanWrapper
- All Implemented Interfaces:
- ManagedComponent
@ManagedResource(componentName="WorkQueue",
description="The CXF internal thread pool for manangement ",
currencyTimeLimit=15,
persistPolicy="OnUpdate",
persistPeriod=200)
public class WorkQueueManagerImplMBeanWrapper- extends java.lang.Object
- implements ManagedComponent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkQueueManagerImplMBeanWrapper
public WorkQueueManagerImplMBeanWrapper(WorkQueueManagerImpl wq)
shutdown
@ManagedOperation(currencyTimeLimit=30)
public void shutdown(boolean processRemainingWorkItems)
getThreadingModel
@ManagedAttribute(description="The thread pool work model",
defaultValue="SINGLE_THREADED",
persistPolicy="OnUpdate")
public java.lang.String getThreadingModel()
setThreadingModel
public void setThreadingModel(java.lang.String model)
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 is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.