org.apache.derby.jdbc
Class XATransactionState.CancelXATransactionTask

java.lang.Object
  extended by java.util.TimerTask
      extended by 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
private  XATransactionState xaState
           
 
Constructor Summary
XATransactionState.CancelXATransactionTask(XATransactionState xaState)
          Creates the cancellation task to be passed to a timer.
 
Method Summary
 boolean cancel()
           
 void run()
          Runs the cancel task of the global transaction
 
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xaState

private XATransactionState xaState
Constructor Detail

XATransactionState.CancelXATransactionTask

public XATransactionState.CancelXATransactionTask(XATransactionState xaState)
Creates the cancellation task to be passed to a timer.

Parameters:
xaState - the XA state object for the transaction to cancel
Method Detail

cancel

public boolean cancel()
Overrides:
cancel in class java.util.TimerTask

run

public void run()
Runs the cancel task of the global transaction

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.