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() |
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 InetSocketAddress getBindInetSocketAddress()
public WriteSelectorThread getWriteHandler(SelectableChannel channel)
public int getPort()
public String getHostName()
Copyright © GigaSpaces.