Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the definition name.
|
int |
getQueueSize()
Returns the queue size.
|
int |
getSize()
Returns the pool size.
|
void |
setQueueSize(int size)
Sets the queue size.
|
void |
setSize(int size)
Sets the pool size.
|
String getName()
void setSize(int size) throws ConfigException
If this is not specified, a default of 5 is used.
size
- thread pool sizeConfigException
- if unable to set the propertyint getSize()
void setQueueSize(int size) throws ConfigException
The queue size. When the max-size is reached then tasks will be queued. If the value is zero then the queue is unbounded. If not 0 then the value must be at least 10.
If this is not specified then 2000 is assumed.
size
- the queue sizeConfigException
- if unable to set the propertyint getQueueSize()
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.