Package org.apache.openejb.jee.wls
Class WorkManager
- java.lang.Object
-
- org.apache.openejb.jee.wls.WorkManager
-
public class WorkManager extends Object
Java class for work-manager complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="work-manager"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <choice minOccurs="0"> <element name="response-time-request-class" type="{http://www.bea.com/ns/weblogic/90}response-time-request-class"/> <element name="fair-share-request-class" type="{http://www.bea.com/ns/weblogic/90}fair-share-request-class"/> <element name="context-request-class" type="{http://www.bea.com/ns/weblogic/90}context-request-class"/> <element name="request-class-name" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <choice minOccurs="0"> <element name="min-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}min-threads-constraint"/> <element name="min-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <choice minOccurs="0"> <element name="max-threads-constraint" type="{http://www.bea.com/ns/weblogic/90}max-threads-constraint"/> <element name="max-threads-constraint-name" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <choice minOccurs="0"> <element name="capacity" type="{http://www.bea.com/ns/weblogic/90}capacity"/> <element name="capacity-name" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <choice minOccurs="0"> <element name="work-manager-shutdown-trigger" type="{http://www.bea.com/ns/weblogic/90}work-manager-shutdown-trigger"/> <element name="ignore-stuck-threads" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </choice> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Capacitycapacityprotected StringcapacityNameprotected ContextRequestClasscontextRequestClassprotected FairShareRequestClassfairShareRequestClassprotected Stringidprotected BooleanignoreStuckThreadsprotected MaxThreadsConstraintmaxThreadsConstraintprotected StringmaxThreadsConstraintNameprotected MinThreadsConstraintminThreadsConstraintprotected StringminThreadsConstraintNameprotected Stringnameprotected StringrequestClassNameprotected ResponseTimeRequestClassresponseTimeRequestClassprotected WorkManagerShutdownTriggerworkManagerShutdownTrigger
-
Constructor Summary
Constructors Constructor Description WorkManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CapacitygetCapacity()Gets the value of the capacity property.StringgetCapacityName()Gets the value of the capacityName property.ContextRequestClassgetContextRequestClass()Gets the value of the contextRequestClass property.FairShareRequestClassgetFairShareRequestClass()Gets the value of the fairShareRequestClass property.StringgetId()Gets the value of the id property.MaxThreadsConstraintgetMaxThreadsConstraint()Gets the value of the maxThreadsConstraint property.StringgetMaxThreadsConstraintName()Gets the value of the maxThreadsConstraintName property.MinThreadsConstraintgetMinThreadsConstraint()Gets the value of the minThreadsConstraint property.StringgetMinThreadsConstraintName()Gets the value of the minThreadsConstraintName property.StringgetName()Gets the value of the name property.StringgetRequestClassName()Gets the value of the requestClassName property.ResponseTimeRequestClassgetResponseTimeRequestClass()Gets the value of the responseTimeRequestClass property.WorkManagerShutdownTriggergetWorkManagerShutdownTrigger()Gets the value of the workManagerShutdownTrigger property.BooleanisIgnoreStuckThreads()Gets the value of the ignoreStuckThreads property.voidsetCapacity(Capacity value)Sets the value of the capacity property.voidsetCapacityName(String value)Sets the value of the capacityName property.voidsetContextRequestClass(ContextRequestClass value)Sets the value of the contextRequestClass property.voidsetFairShareRequestClass(FairShareRequestClass value)Sets the value of the fairShareRequestClass property.voidsetId(String value)Sets the value of the id property.voidsetIgnoreStuckThreads(Boolean value)Sets the value of the ignoreStuckThreads property.voidsetMaxThreadsConstraint(MaxThreadsConstraint value)Sets the value of the maxThreadsConstraint property.voidsetMaxThreadsConstraintName(String value)Sets the value of the maxThreadsConstraintName property.voidsetMinThreadsConstraint(MinThreadsConstraint value)Sets the value of the minThreadsConstraint property.voidsetMinThreadsConstraintName(String value)Sets the value of the minThreadsConstraintName property.voidsetName(String value)Sets the value of the name property.voidsetRequestClassName(String value)Sets the value of the requestClassName property.voidsetResponseTimeRequestClass(ResponseTimeRequestClass value)Sets the value of the responseTimeRequestClass property.voidsetWorkManagerShutdownTrigger(WorkManagerShutdownTrigger value)Sets the value of the workManagerShutdownTrigger property.
-
-
-
Field Detail
-
name
protected String name
-
responseTimeRequestClass
protected ResponseTimeRequestClass responseTimeRequestClass
-
fairShareRequestClass
protected FairShareRequestClass fairShareRequestClass
-
contextRequestClass
protected ContextRequestClass contextRequestClass
-
requestClassName
protected String requestClassName
-
minThreadsConstraint
protected MinThreadsConstraint minThreadsConstraint
-
minThreadsConstraintName
protected String minThreadsConstraintName
-
maxThreadsConstraint
protected MaxThreadsConstraint maxThreadsConstraint
-
maxThreadsConstraintName
protected String maxThreadsConstraintName
-
capacity
protected Capacity capacity
-
capacityName
protected String capacityName
-
workManagerShutdownTrigger
protected WorkManagerShutdownTrigger workManagerShutdownTrigger
-
ignoreStuckThreads
protected Boolean ignoreStuckThreads
-
id
protected String id
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getResponseTimeRequestClass
public ResponseTimeRequestClass getResponseTimeRequestClass()
Gets the value of the responseTimeRequestClass property.- Returns:
- possible object is
ResponseTimeRequestClass
-
setResponseTimeRequestClass
public void setResponseTimeRequestClass(ResponseTimeRequestClass value)
Sets the value of the responseTimeRequestClass property.- Parameters:
value- allowed object isResponseTimeRequestClass
-
getFairShareRequestClass
public FairShareRequestClass getFairShareRequestClass()
Gets the value of the fairShareRequestClass property.- Returns:
- possible object is
FairShareRequestClass
-
setFairShareRequestClass
public void setFairShareRequestClass(FairShareRequestClass value)
Sets the value of the fairShareRequestClass property.- Parameters:
value- allowed object isFairShareRequestClass
-
getContextRequestClass
public ContextRequestClass getContextRequestClass()
Gets the value of the contextRequestClass property.- Returns:
- possible object is
ContextRequestClass
-
setContextRequestClass
public void setContextRequestClass(ContextRequestClass value)
Sets the value of the contextRequestClass property.- Parameters:
value- allowed object isContextRequestClass
-
getRequestClassName
public String getRequestClassName()
Gets the value of the requestClassName property.- Returns:
- possible object is
String
-
setRequestClassName
public void setRequestClassName(String value)
Sets the value of the requestClassName property.- Parameters:
value- allowed object isString
-
getMinThreadsConstraint
public MinThreadsConstraint getMinThreadsConstraint()
Gets the value of the minThreadsConstraint property.- Returns:
- possible object is
MinThreadsConstraint
-
setMinThreadsConstraint
public void setMinThreadsConstraint(MinThreadsConstraint value)
Sets the value of the minThreadsConstraint property.- Parameters:
value- allowed object isMinThreadsConstraint
-
getMinThreadsConstraintName
public String getMinThreadsConstraintName()
Gets the value of the minThreadsConstraintName property.- Returns:
- possible object is
String
-
setMinThreadsConstraintName
public void setMinThreadsConstraintName(String value)
Sets the value of the minThreadsConstraintName property.- Parameters:
value- allowed object isString
-
getMaxThreadsConstraint
public MaxThreadsConstraint getMaxThreadsConstraint()
Gets the value of the maxThreadsConstraint property.- Returns:
- possible object is
MaxThreadsConstraint
-
setMaxThreadsConstraint
public void setMaxThreadsConstraint(MaxThreadsConstraint value)
Sets the value of the maxThreadsConstraint property.- Parameters:
value- allowed object isMaxThreadsConstraint
-
getMaxThreadsConstraintName
public String getMaxThreadsConstraintName()
Gets the value of the maxThreadsConstraintName property.- Returns:
- possible object is
String
-
setMaxThreadsConstraintName
public void setMaxThreadsConstraintName(String value)
Sets the value of the maxThreadsConstraintName property.- Parameters:
value- allowed object isString
-
getCapacity
public Capacity getCapacity()
Gets the value of the capacity property.- Returns:
- possible object is
Capacity
-
setCapacity
public void setCapacity(Capacity value)
Sets the value of the capacity property.- Parameters:
value- allowed object isCapacity
-
getCapacityName
public String getCapacityName()
Gets the value of the capacityName property.- Returns:
- possible object is
String
-
setCapacityName
public void setCapacityName(String value)
Sets the value of the capacityName property.- Parameters:
value- allowed object isString
-
getWorkManagerShutdownTrigger
public WorkManagerShutdownTrigger getWorkManagerShutdownTrigger()
Gets the value of the workManagerShutdownTrigger property.- Returns:
- possible object is
WorkManagerShutdownTrigger
-
setWorkManagerShutdownTrigger
public void setWorkManagerShutdownTrigger(WorkManagerShutdownTrigger value)
Sets the value of the workManagerShutdownTrigger property.- Parameters:
value- allowed object isWorkManagerShutdownTrigger
-
isIgnoreStuckThreads
public Boolean isIgnoreStuckThreads()
Gets the value of the ignoreStuckThreads property.- Returns:
- possible object is
Boolean
-
setIgnoreStuckThreads
public void setIgnoreStuckThreads(Boolean value)
Sets the value of the ignoreStuckThreads property.- Parameters:
value- allowed object isBoolean
-
-