com.hazelcast.nio.tcp
Class InSelectorImpl
java.lang.Object
java.lang.Thread
com.hazelcast.nio.tcp.AbstractIOSelector
com.hazelcast.nio.tcp.InSelectorImpl
- All Implemented Interfaces:
- NIOThread, IOSelector, Runnable
public final class InSelectorImpl
- extends AbstractIOSelector
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
InSelectorImpl
public InSelectorImpl(ThreadGroup threadGroup,
String tname,
ILogger logger,
IOSelectorOutOfMemoryHandler oomeHandler)
getReadEvents
public long getReadEvents()
- Returns the current number of read events that have been processed by this InSelectorImpl.
This method is thread-safe.
- Returns:
- the number of read events.
handleSelectionKey
protected void handleSelectionKey(SelectionKey sk)
- Specified by:
handleSelectionKey
in class AbstractIOSelector
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.