@ManagedResource(componentName="WorkQueue", description="The CXF work queue", currencyTimeLimit=15, persistPolicy="OnUpdate", persistPeriod=200) public class WorkQueueImplMBeanWrapper extends Object implements ManagedComponent
Constructor and Description |
---|
WorkQueueImplMBeanWrapper(AutomaticWorkQueueImpl wq,
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(AutomaticWorkQueueImpl wq, 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 ManagedComponent
JMException
Apache CXF