|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
com.mysql.jdbc.StatementImpl.CancelTask
class StatementImpl.CancelTask
Thread used to implement query timeouts...Eventually we could be more efficient and have one thread with timers, but this is a straightforward and simple way to implement a feature that isn't used all that often.
Field Summary | |
---|---|
(package private) java.sql.SQLException |
caughtWhileCancelling
|
(package private) long |
connectionId
|
(package private) StatementImpl |
toCancel
|
Constructor Summary | |
---|---|
StatementImpl.CancelTask(StatementImpl cancellee)
|
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
long connectionId
java.sql.SQLException caughtWhileCancelling
StatementImpl toCancel
Constructor Detail |
---|
StatementImpl.CancelTask(StatementImpl cancellee) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |