slib.utils.threads
Class PoolWorker
java.lang.Object
slib.utils.threads.PoolLocker
slib.utils.threads.PoolWorker
public class PoolWorker
- extends PoolLocker
- Author:
- seb
Constructor Summary |
protected |
PoolWorker(int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoolWorker
protected PoolWorker(int size)
- Parameters:
size
-
getPool
public ExecutorService getPool()
- Returns:
forceShutdown
public void forceShutdown()
shutdown
public void shutdown()
throws SLIB_Ex_Critic
- Throws:
SLIB_Ex_Critic
shutdown
public void shutdown(long timeout,
TimeUnit timeunit)
throws SLIB_Ex_Critic
- Parameters:
timeout
- timeunit
-
- Throws:
SLIB_Ex_Critic
Copyright © 2013. All Rights Reserved.