com.sun.jini.thread
Class ThreadPool.Task

java.lang.Object
  extended by com.sun.jini.thread.ThreadPool.Task
Enclosing class:
ThreadPool

private static class ThreadPool.Task
extends Object

Task simply encapsulates a task's Runnable object with its name.


Field Summary
(package private)  String name
           
(package private)  Runnable runnable
           
 
Constructor Summary
ThreadPool.Task(Runnable runnable, String name)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runnable

final Runnable runnable

name

final String name
Constructor Detail

ThreadPool.Task

ThreadPool.Task(Runnable runnable,
                String name)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.