org.jmage.pool
Interface WorkerPool
- All Known Implementing Classes:
- WorkerPoolImpl
public interface WorkerPool
WorkerPool
hireWorker
Worker hireWorker()
throws WorkerException
- Throws:
WorkerException
freeWorker
void freeWorker(Worker worker)
throws WorkerException
- Throws:
WorkerException
freeWorkerFor
void freeWorkerFor(java.lang.Object object)
throws WorkerException
- Throws:
WorkerException
addWorker
void addWorker(Worker worker)
throws WorkerException
- Throws:
WorkerException
removeWorker
void removeWorker(Worker worker)
throws WorkerException
- Throws:
WorkerException
getAllWorkers
java.util.Set getAllWorkers()
throws WorkerException
- Throws:
WorkerException
getTimeoutSeconds
int getTimeoutSeconds()
throws WorkerException
- Throws:
WorkerException
setTimeoutSeconds
void setTimeoutSeconds(int timeoutSeconds)
throws WorkerException
- Throws:
WorkerException
Copyright © 2004-2008 Sourceforge. All Rights Reserved.