foundry.threads
Class ThreadPoolEvent
java.lang.Object
|
+--java.util.EventObject
|
+--foundry.threads.ThreadPoolEvent
- All Implemented Interfaces:
- Serializable
- public class ThreadPoolEvent
- extends EventObject
An event that contains information from a ThreadPool
.
ThreadPoolEvent
s can be received by implementing a
ThreadPoolListener
. Substantial
portions of this class include software developed by GO.com
(http://opensource.go.com/); those portions are governed by the
Tea Software
License, Version 1.0.
- Version:
- $Revision: 1.2 $
- Author:
- Laird Nelson, Brian S O'Neill
- See Also:
ThreadPoolListener
, Serialized Form
Field Summary |
private Thread |
thread
The Thread that caused this ThreadPoolEvent
to be fired. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
thread
private final Thread thread
- The
Thread
that caused this ThreadPoolEvent
to be fired.
ThreadPoolEvent
public ThreadPoolEvent(ThreadPool source,
Thread thread)
- Creates a
ThreadPoolEvent
.
- Parameters:
source
- the ThreadPool
that fired this eventthread
- the Thread
that caused this event to be fired
getThreadPool
public ThreadPool getThreadPool()
- Returns the
ThreadPool
that fired this event.
- Returns:
- the
ThreadPool
that fired this event
getThread
public Thread getThread()
- Returns the
Thread
that caused this event to be fired.
- Returns:
- the
Thread
that caused this event to be fired
Copyright © 2000 - Laird Jarrett Nelson