|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.controller.loadbalancer.tasks.AbstractTask
org.objectweb.cjdbc.controller.loadbalancer.tasks.KillThreadTask
This task is used to kill backend worker threads.
Field Summary |
Fields inherited from class org.objectweb.cjdbc.controller.loadbalancer.tasks.AbstractTask |
|
Constructor Summary | |
KillThreadTask(int nbToComplete,
int totalNb)
Creates a new KillThreadTask instance that must be executed by
nbToComplete backend threads |
Method Summary | |
void |
execute(BackendWorkerThread backendThread)
This function does nothing. |
java.lang.String |
toString()
|
Methods inherited from class org.objectweb.cjdbc.controller.loadbalancer.tasks.AbstractTask |
getExceptions, getFailed, getNbToComplete, getSuccess, getTotalNb, notifyFailure, notifySuccess, setTotalNb |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public KillThreadTask(int nbToComplete, int totalNb)
KillThreadTask
instance that must be executed by
nbToComplete
backend threads
nbToComplete
- number of threads that must succeed before returningtotalNb
- total number of threadsMethod Detail |
public void execute(BackendWorkerThread backendThread) throws java.sql.SQLException
execute
in class AbstractTask
backendThread
- the backend thread that will execute the task
java.sql.SQLException
- if an error occurspublic java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |