public class SelectorThreadPool
extends java.lang.Object
SelectorThread| Constructor and Description |
|---|
SelectorThreadPool(SelectionHandler handler,
int numThreads) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeAll()
close all SelectorThreads in this pool.
|
SelectorThread |
getLightest() |
void |
startAll() |
public SelectorThreadPool(SelectionHandler handler, int numThreads) throws java.io.IOException
numThreads - the number of SelectorThreads in this pooljava.io.IOExceptionpublic SelectorThread getLightest()
public void startAll()
public void closeAll()