public class SelectorManager extends ManagedRunnable
| Constructor and Description |
|---|
SelectorManager(Pivot pivot,
String hostName,
String port,
int readSelectorThreads) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getBindInetSocketAddress() |
String |
getHostName() |
int |
getPort() |
ReadSelectorThread |
getReadHandler(SelectableChannel channel) |
WriteSelectorThread |
getWriteHandler(SelectableChannel channel) |
protected void |
waitWhileFinish()
This method will be invoked by requestShutdown().
|
requestShutdown, shouldShutdownpublic SelectorManager(Pivot pivot, String hostName, String port, int readSelectorThreads) throws IOException
IOExceptionprotected void waitWhileFinish()
ManagedRunnablewaitWhileFinish in class ManagedRunnablepublic int getPort()
public String getHostName()
public InetSocketAddress getBindInetSocketAddress()
public ReadSelectorThread getReadHandler(SelectableChannel channel)
public WriteSelectorThread getWriteHandler(SelectableChannel channel)
Copyright © GigaSpaces.