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, shouldShutdown
public SelectorManager(Pivot pivot, String hostName, String port, int readSelectorThreads) throws IOException
IOException
protected void waitWhileFinish()
ManagedRunnable
waitWhileFinish
in class ManagedRunnable
public InetSocketAddress getBindInetSocketAddress()
public WriteSelectorThread getWriteHandler(SelectableChannel channel)
public int getPort()
public String getHostName()
Copyright © GigaSpaces.