SettableBean
public interface MaxThreadsConstraintBean extends SettableBean
Modifier and Type | Method | Description |
---|---|---|
int |
getCount() |
|
java.lang.String |
getId() |
|
java.lang.String |
getName() |
The name of the MaxThreadsConstraint that is unique for a given module
|
java.lang.String |
getPoolName() |
|
int |
getQueueSize() |
Desired size of the MaxThreadsConstraint queue for requests pending execution.
|
void |
setCount(int count) |
|
void |
setId(java.lang.String id) |
|
void |
setName(java.lang.String name) |
|
void |
setPoolName(java.lang.String poolName) |
|
void |
setQueueSize(int queueSize) |
Desired size of the MaxThreadsConstraint queue for requests pending execution.
|
java.lang.String getName()
void setName(java.lang.String name)
int getCount()
void setCount(int count)
java.lang.String getPoolName()
void setPoolName(java.lang.String poolName)
java.lang.String getId()
void setId(java.lang.String id)
void setQueueSize(int queueSize)
Set the approximate size of the MaxThreadsConstraint requests queue. Requests are added to this queue if they are not yet eligible for execution due the the maximum number of concurrent threads that can execute requests sharing this constraint has been reached. The actual size of the queue created may be different from the value set here. For example, it may be rounded up to the nearest power of 2. Setting a large queue size would increase memory consumption. It is best to not set the queue size to be larger than necessary.
int getQueueSize()