Package org.apache.cxf.bus.managers
Class WorkQueueImplMBeanWrapper
java.lang.Object
org.apache.cxf.bus.managers.WorkQueueImplMBeanWrapper
- All Implemented Interfaces:
ManagedComponent
@ManagedResource(componentName="WorkQueue",
description="The CXF work queue",
currencyTimeLimit=15,
persistPolicy="OnUpdate",
persistPeriod=200)
public class WorkQueueImplMBeanWrapper
extends Object
implements ManagedComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
long
long
boolean
isEmpty()
boolean
isFull()
void
setHighWaterMark
(int hwm) void
setLowWaterMark
(int lwm)
-
Constructor Details
-
WorkQueueImplMBeanWrapper
-
-
Method Details
-
getWorkQueueMaxSize
@ManagedAttribute(description="The WorkQueueMaxSize", persistPolicy="OnUpdate") public long getWorkQueueMaxSize() -
getWorkQueueSize
@ManagedAttribute(description="The WorkQueue Current size", persistPolicy="OnUpdate") public long getWorkQueueSize() -
getLargestPoolSize
-
getPoolSize
-
getActiveCount
-
isEmpty
@ManagedAttribute(description="The WorkQueue has nothing to do", persistPolicy="OnUpdate") public boolean isEmpty() -
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
- Specified by:
getObjectName
in interfaceManagedComponent
- Throws:
JMException
-