php.java.bridge
Class AppThreadPool

java.lang.Object
  extended by php.java.bridge.ThreadPool
      extended by php.java.bridge.AppThreadPool

public final class AppThreadPool
extends ThreadPool

A specialized thread pool which automatically terminates all group threads at the end of the request. When this thread pool is used, users cannot create long-running threads from PHP scripts

Author:
jostb

Constructor Summary
AppThreadPool(java.lang.String name, int poolMaxSize)
          Creates a new thread pool.
 
Method Summary
 
Methods inherited from class php.java.bridge.ThreadPool
destroy, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppThreadPool

public AppThreadPool(java.lang.String name,
                     int poolMaxSize)
Creates a new thread pool.

Parameters:
name - - The name of the pool threads.
poolMaxSize - - The max. number of threads, must be >= 1.