com.sun.grizzly.util
Class AbstractThreadPool.Worker
java.lang.Object
com.sun.grizzly.util.AbstractThreadPool.Worker
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- SyncThreadPool.SyncThreadWorker
- Enclosing class:
- AbstractThreadPool
public abstract class AbstractThreadPool.Worker
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
t
protected Thread t
AbstractThreadPool.Worker
public AbstractThreadPool.Worker()
run
public void run()
- Specified by:
run
in interface Runnable
doWork
protected void doWork()
getTask
protected abstract Runnable getTask()
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2012 Oracle Corporation. All Rights Reserved.