Class ThreadingParametersType
java.lang.Object
org.apache.cxf.transports.http_jetty.configuration.ThreadingParametersType
Java class for ThreadingParametersType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ThreadingParametersType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="minThreads" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedUShort" />
<attribute name="maxThreads" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedUShort" />
<attribute name="threadNamePrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerSpecifies the maximum number of threads available to the Jetty instance for processing requests.protected IntegerSpecifies the minimum number of threads available to the Jetty instance for processing requests.protected StringSpecifies the thread name prefix for threads that are used by the Jetty instance for processing requests. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the maximum number of threads available to the Jetty instance for processing requests.Specifies the minimum number of threads available to the Jetty instance for processing requests.Specifies the thread name prefix for threads that are used by the Jetty instance for processing requests.voidsetMaxThreads(Integer value) Sets the value of the maxThreads property.voidsetMinThreads(Integer value) Sets the value of the minThreads property.voidsetThreadNamePrefix(String value) Sets the value of the threadNamePrefix property.
-
Field Details
-
minThreads
Specifies the minimum number of threads available to the Jetty instance for processing requests. -
maxThreads
Specifies the maximum number of threads available to the Jetty instance for processing requests. -
threadNamePrefix
Specifies the thread name prefix for threads that are used by the Jetty instance for processing requests.
-
-
Constructor Details
-
ThreadingParametersType
public ThreadingParametersType()
-
-
Method Details
-
getMinThreads
Specifies the minimum number of threads available to the Jetty instance for processing requests.- Returns:
- possible object is
Integer
-
setMinThreads
Sets the value of the minThreads property.- Parameters:
value- allowed object isInteger- See Also:
-
getMaxThreads
Specifies the maximum number of threads available to the Jetty instance for processing requests.- Returns:
- possible object is
Integer
-
setMaxThreads
Sets the value of the maxThreads property.- Parameters:
value- allowed object isInteger- See Also:
-
getThreadNamePrefix
Specifies the thread name prefix for threads that are used by the Jetty instance for processing requests.- Returns:
- possible object is
String
-
setThreadNamePrefix
Sets the value of the threadNamePrefix property.- Parameters:
value- allowed object isString- See Also:
-