Executors

Methods
5
Fields
None

Methods

MethodReturnsDescription
newScheduledThreadPool(number)ScheduledExecutorServiceA new scheduled executor (one thread or many is the same here).
newCachedThreadPool()ScheduledExecutorServiceA new executor (cached or not is the same here).
newFixedThreadPool(number)ScheduledExecutorServiceA new executor (nThreads is unused).
newSingleThreadExecutor()ScheduledExecutorServiceA new executor.
newSingleThreadScheduledExecutor()ScheduledExecutorServiceA new scheduled executor.

Method details