org.objectweb.cjdbc.controller.virtualdatabase.protocol
Class Rollback

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.virtualdatabase.protocol.Rollback
All Implemented Interfaces:
java.io.Serializable

public class Rollback
extends java.lang.Object
implements java.io.Serializable

Execute a distributed rollback.

Version:
1.0
Author:
Emmanuel Cecchet
See Also:
Serialized Form

Field Summary
private  long transactionId
           
 
Constructor Summary
Rollback(long transactionId)
          Creates a new Rollback message.
 
Method Summary
 java.lang.Object rollback(DistributedRequestManager drm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionId

private long transactionId
Constructor Detail

Rollback

public Rollback(long transactionId)
Creates a new Rollback message.

Parameters:
transactionId - id of the transaction to rollback
Method Detail

rollback

public java.lang.Object rollback(DistributedRequestManager drm)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException
See Also:
org.objectweb.cjdbc.controller.virtualdatabase.protocol.DistributedRequest#executeRequest(org.objectweb.cjdbc.controller.requestmanager.distributed.DistributedRequestManager)


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.