org.sblim.wbem.util
Class ThreadPool
java.lang.Object
org.sblim.wbem.util.ThreadPool
public class ThreadPool
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPool
public ThreadPool()
ThreadPool
public ThreadPool(int minPoolSize,
int maxPoolSize)
getInstance
public static ThreadPool getInstance()
getIdleTimeOutMs
public long getIdleTimeOutMs()
execute
public boolean execute(java.lang.Runnable task)
execute
public boolean execute(java.lang.Runnable task,
boolean enqueue)
createWorker
protected org.sblim.wbem.util.ThreadPool.Worker createWorker()
getGroup
public java.lang.ThreadGroup getGroup()
taskCompleted
public boolean taskCompleted(org.sblim.wbem.util.ThreadPool.Worker worker,
boolean timeout)
removeThread
protected void removeThread(org.sblim.wbem.util.ThreadPool.Worker worker)
shutdown
public void shutdown()
getThreadPool
protected java.util.Vector getThreadPool()
Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.