com.sun.jini.thread
Class ThreadPool.Worker

java.lang.Object
  extended by 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.


Field Summary
private  ThreadPool.Task first
           
 
Constructor Summary
ThreadPool.Worker(ThreadPool.Task first)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

private ThreadPool.Task first
Constructor Detail

ThreadPool.Worker

ThreadPool.Worker(ThreadPool.Task first)
Method Detail

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.