Public Member Functions | |
| BACIDispatcher (ThreadFactory threadFactory) | |
| boolean | execute (PrioritizedRunnable action) |
| void | shutdown () |
Private Attributes | |
| ThreadPoolExecutor | threadPool |
Static Private Attributes | |
| final int | MAX_REQUESTS = 100 |
| final int | POOL_THREADS = 10 |
|
|
Constructor.
|
|
|
Execute action. If the maximum pool size or queue size is bounded, then it is possible for incoming execute requests to block.
|
|
|
Shutdown dispatcher. |
|
|
Number of threads in thread pool. |
|
|
Number of requests ( in thread pool (guarantees order of execution). |
|
|
Thread pool. |
1.3.8