Class ReadSelectorThread
java.lang.Object
com.j_spaces.kernel.ManagedRunnable
com.gigaspaces.lrmi.nio.selector.handler.AbstractSelectorThread
com.gigaspaces.lrmi.nio.selector.handler.ReadSelectorThread
- All Implemented Interfaces:
Runnable
Handle read events from selector.
- Since:
- 6.0.4, 6.5
- Author:
- Guy Korland
-
Field Summary
Fields inherited from class com.gigaspaces.lrmi.nio.selector.handler.AbstractSelectorThread
_logger, ownerThread -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateKey(SocketChannel channel) called after the reading has finishedprotected voidprotected voidvoidregisterKey(SelectionKey key) called after the reading has finishedMethods inherited from class com.gigaspaces.lrmi.nio.selector.handler.AbstractSelectorThread
cancelKey, closeChannel, getSelector, register, run, waitWhileFinishMethods inherited from class com.j_spaces.kernel.ManagedRunnable
requestShutdown, shouldShutdown
-
Constructor Details
-
ReadSelectorThread
- Throws:
IOException
-
-
Method Details
-
handleConnection
- Specified by:
handleConnectionin classAbstractSelectorThread- Throws:
IOExceptionInterruptedException
-
enableSelectionKeys
protected void enableSelectionKeys()- Specified by:
enableSelectionKeysin classAbstractSelectorThread
-
registerKey
called after the reading has finished -
createKey
called after the reading has finished
-