Package org.apache.derby.jdbc
Class XATransactionState.CancelXATransactionTask
- java.lang.Object
-
- java.util.TimerTask
-
- org.apache.derby.jdbc.XATransactionState.CancelXATransactionTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- XATransactionState
private static class XATransactionState.CancelXATransactionTask extends java.util.TimerTask
The implementation of TimerTask to cancel a global transaction.
-
-
Field Summary
Fields Modifier and Type Field Description private XATransactionState
xaState
-
Constructor Summary
Constructors Constructor Description CancelXATransactionTask(XATransactionState xaState)
Creates the cancellation task to be passed to a timer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancel()
void
run()
Runs the cancel task of the global transaction
-
-
-
Field Detail
-
xaState
private XATransactionState xaState
-
-
Constructor Detail
-
CancelXATransactionTask
public CancelXATransactionTask(XATransactionState xaState)
Creates the cancellation task to be passed to a timer.- Parameters:
xaState
- the XA state object for the transaction to cancel
-
-