|
|||||||||||
| 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 |
executeTask(BackendWorkerThread backendThread)
This function does nothing. |
java.lang.String |
toString()
|
| Methods inherited from class org.objectweb.cjdbc.controller.loadbalancer.tasks.AbstractTask |
execute, getExceptions, getExecutionStarted, getFailed, getGeneratedKeysResultSet, getNbToComplete, getSuccess, getTotalNb, hasTid, notifyCompletion, notifyFailure, notifySuccess, setExpiredTimeout, setGeneratedKeysResultSet, setHasTid, 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 threads| Method Detail |
public void executeTask(BackendWorkerThread backendThread)
throws java.sql.SQLException
executeTask in class AbstractTaskbackendThread - 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 | ||||||||||