com.msi.threadpuddle
Class PiddleThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.msi.threadpuddle.PiddleThread
All Implemented Interfaces:
java.lang.Runnable

public class PiddleThread
extends java.lang.Thread

PiddleThread every pooled thread is an instance of PiddleThread.


Field Summary
private  ThreadPuddleImpl lock
          Lock on the containing puddle for this piddle.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PiddleThread(ThreadPuddleImpl lock)
          PiddleThread Pass in the pool instance for synchronization.
 
Method Summary
 void run()
          run - This is where all the action is...
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lock

private ThreadPuddleImpl lock
Lock on the containing puddle for this piddle.

Constructor Detail

PiddleThread

public PiddleThread(ThreadPuddleImpl lock)
PiddleThread Pass in the pool instance for synchronization.

Method Detail

run

public void run()
run - This is where all the action is...

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © 2001-2002 MileStone Solutions, Inc. All Rights Reserved.