@ManagedResource(componentName="WorkQueue",
description="The CXF work queue",
currencyTimeLimit=15,
persistPolicy="OnUpdate",
persistPeriod=200)
public class WorkQueueImplMBeanWrapper
extends Object
implements org.apache.cxf.management.ManagedComponent
| Constructor and Description |
|---|
WorkQueueImplMBeanWrapper(org.apache.cxf.workqueue.AutomaticWorkQueueImpl wq,
org.apache.cxf.workqueue.WorkQueueManager mgr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveCount() |
int |
getHighWaterMark() |
int |
getLargestPoolSize() |
int |
getLowWaterMark() |
ObjectName |
getObjectName() |
int |
getPoolSize() |
long |
getWorkQueueMaxSize() |
long |
getWorkQueueSize() |
boolean |
isEmpty() |
boolean |
isFull() |
void |
setHighWaterMark(int hwm) |
void |
setLowWaterMark(int lwm) |
public WorkQueueImplMBeanWrapper(org.apache.cxf.workqueue.AutomaticWorkQueueImpl wq,
org.apache.cxf.workqueue.WorkQueueManager mgr)
@ManagedAttribute(description="The WorkQueueMaxSize",
persistPolicy="OnUpdate")
public long getWorkQueueMaxSize()
@ManagedAttribute(description="The WorkQueue Current size",
persistPolicy="OnUpdate")
public long getWorkQueueSize()
@ManagedAttribute(description="The largest number of threads") public int getLargestPoolSize()
@ManagedAttribute(description="The current number of threads") public int getPoolSize()
@ManagedAttribute(description="The number of threads currently busy") public int getActiveCount()
@ManagedAttribute(description="The WorkQueue has nothing to do",
persistPolicy="OnUpdate")
public boolean isEmpty()
@ManagedAttribute(description="The WorkQueue is very busy") public boolean isFull()
@ManagedAttribute(description="The WorkQueue HighWaterMark",
persistPolicy="OnUpdate")
public int getHighWaterMark()
public void setHighWaterMark(int hwm)
@ManagedAttribute(description="The WorkQueue LowWaterMark",
persistPolicy="OnUpdate")
public int getLowWaterMark()
public void setLowWaterMark(int lwm)
public ObjectName getObjectName() throws JMException
getObjectName in interface org.apache.cxf.management.ManagedComponentJMExceptionApache CXF