public interface ResizableExecutor extends Executor
Modifier and Type | Method and Description |
---|---|
int |
getActiveCount()
Returns the approximate number of threads that are actively executing
tasks.
|
int |
getMaxThreads() |
int |
getPoolSize()
Returns the current number of threads in the pool.
|
boolean |
resizePool(int corePoolSize,
int maximumPoolSize) |
boolean |
resizeQueue(int capacity) |
int getPoolSize()
int getMaxThreads()
int getActiveCount()
boolean resizePool(int corePoolSize, int maximumPoolSize)
boolean resizeQueue(int capacity)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.