org.apache.commons.threadpool
Interface ThreadPool

All Known Implementing Classes:
DefaultThreadPool

public interface ThreadPool

An interface representing some kind of thread pool which allows asynchronous dispatching of Runnable tasks. It is the responsibility of the Runnable task to handle exceptions gracefully. Any non handled exception will typically just be logged. Though a ThreadPool implementation could have some custom Exception handler

Version:
$Revision: 155472 $
Author:
James Strachan

Method Summary
 void invokeLater(Runnable task)
          Dispatch a new task onto this pool to be invoked asynchronously later.
 

Method Detail

invokeLater

void invokeLater(Runnable task)
Dispatch a new task onto this pool to be invoked asynchronously later.



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.