public abstract class AbstractSelectionHandler extends Object implements MigratableHandler
| Modifier and Type | Field and Description |
|---|---|
protected TcpIpConnection |
connection |
protected TcpIpConnectionManager |
connectionManager |
protected IOSelector |
ioSelector |
protected ILogger |
logger |
protected Selector |
selector |
protected SocketChannelWrapper |
socketChannel |
| Constructor and Description |
|---|
AbstractSelectionHandler(TcpIpConnection connection,
IOSelector ioSelector,
int initialOps) |
| Modifier and Type | Method and Description |
|---|---|
IOSelector |
getOwner()
Get IOSelector currently owning this handler.
|
protected SelectionKey |
getSelectionKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventCount, requestMigrationhandleprotected final ILogger logger
protected final SocketChannelWrapper socketChannel
protected final TcpIpConnection connection
protected final TcpIpConnectionManager connectionManager
protected Selector selector
protected IOSelector ioSelector
public AbstractSelectionHandler(TcpIpConnection connection, IOSelector ioSelector, int initialOps)
protected SelectionKey getSelectionKey()
public IOSelector getOwner()
IOBalancer can decide to migrate
a handler to another owner.getOwner in interface MigratableHandlerCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.