Package org.apache.mina.filter.executor
Class PriorityThreadPoolExecutor.Worker
- java.lang.Object
-
- org.apache.mina.filter.executor.PriorityThreadPoolExecutor.Worker
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- PriorityThreadPoolExecutor
private class PriorityThreadPoolExecutor.Worker extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.AtomicLongcompletedTaskCountprivate java.lang.Threadthread
-
Constructor Summary
Constructors Modifier Constructor Description privateWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private IoSessionfetchSession()voidrun()private voidrunTask(java.lang.Runnable task)private voidrunTasks(PriorityThreadPoolExecutor.SessionQueue sessionTasksQueue)
-
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
fetchSession
private IoSession fetchSession()
-
runTasks
private void runTasks(PriorityThreadPoolExecutor.SessionQueue sessionTasksQueue)
-
runTask
private void runTask(java.lang.Runnable task)
-
-