No Thread Pool, high cost to create new threads

Thread Pool to reuse threads already created

Consideration:

Thread Pools Java offered:

CachedThreadPool:

ScheduledThreadPool

constructor



remark: 0 seconds means not applicable
Queue types for different pools

task reject policy



Life Cycle

Callable & Future



网友评论