Package org.apache.tomcat.util.net
Class NioBlockingSelector.BlockPoller
java.lang.Object
java.lang.Thread
org.apache.tomcat.util.net.NioBlockingSelector.BlockPoller
- All Implemented Interfaces:
Runnable
- Enclosing class:
- NioBlockingSelector
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SynchronizedQueue<Runnable>protected booleanprotected Selectorprotected final AtomicIntegerFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NioEndpoint.NioSocketWrapper key, int ops, NioBlockingSelector.KeyReference ref) voidcancel(SelectionKey sk, NioEndpoint.NioSocketWrapper key, int ops) voidcancelKey(SelectionKey key) voidcountDown(CountDownLatch latch) voiddisable()booleanevents()voidremove(NioEndpoint.NioSocketWrapper key, int ops) voidrun()voidwakeup()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
run
protected volatile boolean run -
selector
-
events
-
wakeupCounter
-
-
Constructor Details
-
BlockPoller
protected BlockPoller()
-
-
Method Details