java.util.concurrent.Executor
StandardThreadExecutor
public interface ResizableExecutor
extends java.util.concurrent.Executor
Modifier and Type | Method | 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-2019 Apache Software Foundation. All Rights Reserved.