public class PoolWorker extends PoolLocker
capacity, lock, running
Modifier | Constructor and Description |
---|---|
protected |
PoolWorker(int size) |
Modifier and Type | Method and Description |
---|---|
void |
forceShutdown() |
ExecutorService |
getPool() |
void |
shutdown() |
void |
shutdown(long timeout,
TimeUnit timeunit) |
addTask, awaitFreeResource, getCapacity, getLoad, taskComplete
public ExecutorService getPool()
public void forceShutdown()
public void shutdown() throws SLIB_Ex_Critic
SLIB_Ex_Critic
public void shutdown(long timeout, TimeUnit timeunit) throws SLIB_Ex_Critic
timeout
- timeunit
- SLIB_Ex_Critic
Copyright © 2014. All rights reserved.