foundry-0.9.1

foundry.threads
Interface ThreadPoolListener

All Superinterfaces:
EventListener

public interface ThreadPoolListener
extends EventListener

Interface used to receive events from a ThreadPool. 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:
ThreadPoolEvent, ThreadPool

Method Summary
 void threadExiting(ThreadPoolEvent e)
          Called before a thread exits, usually because the idle timeout expired.
 void threadStarted(ThreadPoolEvent e)
          Called when a new thread is started.
 

Method Detail

threadStarted

public void threadStarted(ThreadPoolEvent e)
Called when a new thread is started.
Parameters:
e - the ThreadPoolEvent that was fired

threadExiting

public void threadExiting(ThreadPoolEvent e)
Called before a thread exits, usually because the idle timeout expired.
Parameters:
e - the ThreadPoolEvent that was fired

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson