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

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

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

Execute a distributed commit.

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

Field Summary
private  long transactionId
           
 
Constructor Summary
Commit(long transactionId)
          Creates a new Commit message.
 
Method Summary
 java.lang.Object commit(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

Commit

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

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

commit

public java.lang.Object commit(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.