| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| protected final BlockingQueue |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | execute(Runnable command)
Implements java. Executes the given command at some time in the future. |
| workQueue | back to summary |
|---|---|
| protected final BlockingQueue<Runnable> workQueue | |
| FixedThreadPool | back to summary |
|---|---|
| public FixedThreadPool(ThreadPoolConfig config) | |
| doStartWorker | back to summary |
|---|---|
| private void doStartWorker() Must hold statelock while calling this method. | |
| execute | back to summary |
|---|---|
| public void execute(Runnable command) Implements java. Doc from java. Executes the given command at some time in the future. The command
may execute in a new thread, in a pooled thread, or in the calling
thread, at the discretion of the
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Runnable |
| BasicWorker | back to summary |
|---|---|
| private BasicWorker() | |
| getTask | back to summary |
|---|---|
| protected Runnable getTask() throws InterruptedException Implements abstract org.
| |