Class StatementImpl.CancelTask
java.lang.Object
java.util.TimerTask
com.mysql.jdbc.StatementImpl.CancelTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
StatementImpl
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
FieldsModifier and TypeFieldDescription(package private) SQLException(package private) long(package private) Properties(package private) String(package private) StatementImpl -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
caughtWhileCancelling
SQLException caughtWhileCancelling -
toCancel
StatementImpl toCancel -
origConnProps
Properties origConnProps -
origConnURL
String origConnURL -
origConnId
long origConnId
-
-
Constructor Details
-
CancelTask
CancelTask(StatementImpl cancellee) throws SQLException - Throws:
SQLException
-
-
Method Details
-
run
-