public class WriteSelectorThread extends AbstractSelectorThread
_logger, ownerThread
Constructor and Description |
---|
WriteSelectorThread(Pivot pivot,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
enableSelectionKeys() |
protected void |
handleConnection(SelectionKey key) |
void |
removeWriteInterest(SelectionKey key) |
void |
setWriteInterest(ChannelEntry channelEntry) |
cancelKey, closeChannel, getSelector, register, run, waitWhileFinish
requestShutdown, shouldShutdown
public WriteSelectorThread(Pivot pivot, String name) throws IOException
IOException
protected void enableSelectionKeys()
enableSelectionKeys
in class AbstractSelectorThread
protected void handleConnection(SelectionKey key) throws IOException, InterruptedException
handleConnection
in class AbstractSelectorThread
IOException
InterruptedException
public void setWriteInterest(ChannelEntry channelEntry)
public void removeWriteInterest(SelectionKey key)
Copyright © GigaSpaces.