|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiSelectorThread
This interface allow implementation of multi Selector support from a SelectorThread.
Method Summary | |
---|---|
void |
addChannel(SocketChannel channel)
Add a Channel to be processed by this
Selector |
int |
getCurrentBusyProcessorThreads()
Provides the count of request threads that are currently being processed by the container |
void |
initEndpoint()
Initialize this SelectorThread |
void |
startEndpoint()
Start and wait for incoming connection |
void |
stopEndpoint()
Stop incoming connection |
Method Detail |
---|
void addChannel(SocketChannel channel) throws IOException, ClosedChannelException
Channel
to be processed by this
Selector
IOException
ClosedChannelException
int getCurrentBusyProcessorThreads()
void initEndpoint() throws IOException, InstantiationException
SelectorThread
IOException
InstantiationException
void startEndpoint() throws IOException, InstantiationException
IOException
InstantiationException
void stopEndpoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |