Thread Pools (TPS)
Rules
- TPS00-J. Use thread pools to enable graceful degradation of service during traffic bursts
- TPS01-J. Do not execute interdependent tasks in a bounded thread pool
- TPS02-J. Ensure that tasks submitted to a thread pool are interruptible
- TPS03-J. Ensure that tasks executing in a thread pool do not fail silently
- TPS04-J. Ensure ThreadLocal variables are reinitialized when using thread pools
Risk Assessment Summary
| Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| TPS00-J | Low | Probable | No | No | P2 | L3 |
| TPS01-J | Low | Probable | No | No | P2 | L3 |
| TPS02-J | Low | Probable | No | No | P2 | L3 |
| TPS03-J | Low | Probable | Yes | No | P4 | L3 |
| TPS04-J | Medium | Probable | Yes | No | P8 | L2 |


