org.apache.directory.server.protocol.shared
Class StandardThreadPool

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.StandardThreadPool
All Implemented Interfaces:
java.util.concurrent.Executor

public class StandardThreadPool
extends java.lang.Object
implements java.util.concurrent.Executor

Version:
$Rev: 604361 $ $Date: 2007-12-15 01:58:40 +0100 (Sa, 15 Dez 2007) $
'XBean'

Constructor Summary
StandardThreadPool(int maxThreads)
           
 
Method Summary
 void execute(java.lang.Runnable command)
           
 void stop()
          TODO wont this hang if some tasks are sufficiently badly behaved?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardThreadPool

public StandardThreadPool(int maxThreads)
Method Detail

execute

public void execute(java.lang.Runnable command)
Specified by:
execute in interface java.util.concurrent.Executor

stop

public void stop()
TODO wont this hang if some tasks are sufficiently badly behaved?

'XBean DestroyMethod'


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.