org.apache.axis2.transport.nhttp.util
Class BackportWorkerPool

java.lang.Object
  extended by org.apache.axis2.transport.nhttp.util.BackportWorkerPool
All Implemented Interfaces:
WorkerPool

public class BackportWorkerPool
extends java.lang.Object
implements WorkerPool

Utility class to support the backport util.concurrent in JDK 1.4 and the native concurrent package in JDK 1.5 or later


Nested Class Summary
 class BackportWorkerPool.BackportThreadFactory
          This is a simple ThreadFactory implementation using java.util.concurrent Creates threads with the given name prefix
 
Constructor Summary
BackportWorkerPool(int core, int max, int keepAlive, int queueLength, java.lang.String threadGroupName, java.lang.String threadGroupId)
           
 
Method Summary
 void execute(java.lang.Runnable task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackportWorkerPool

public BackportWorkerPool(int core,
                          int max,
                          int keepAlive,
                          int queueLength,
                          java.lang.String threadGroupName,
                          java.lang.String threadGroupId)
Method Detail

execute

public void execute(java.lang.Runnable task)
Specified by:
execute in interface WorkerPool


Copyright © 2007 Apache Web Services Project. All Rights Reserved.