com.sun.jini.thread
Class ThreadPool.Worker
java.lang.Object
com.sun.jini.thread.ThreadPool.Worker
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadPool
private class ThreadPool.Worker
- extends Object
- implements Runnable
Worker executes an initial task, and then it executes tasks from the
queue, passing away if ever idle for more than the idle timeout value.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
first
private ThreadPool.Task first
ThreadPool.Worker
ThreadPool.Worker(ThreadPool.Task first)
run
public void run()
- Specified by:
run
in interface Runnable
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.