|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.controller.virtualdatabase.protocol.DistributedTransactionMarker
This class defines a DistributedTransactionMarker which is used to transport commit/rollback/savepoint type of commands.
Field Summary | |
protected long |
transactionId
|
Constructor Summary | |
DistributedTransactionMarker(long transactionId)
Creates a new DistributedTransactionMarker object |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
abstract java.lang.Object |
executeCommand(DistributedRequestManager drm)
Code to be executed by the distributed request manager receiving the command. |
long |
getTransactionId()
Returns the transactionId value. |
abstract void |
scheduleCommand(DistributedRequestManager drm)
Schedule the command (i.e. commit or rollback). |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long transactionId
Constructor Detail |
public DistributedTransactionMarker(long transactionId)
DistributedTransactionMarker
object
transactionId
- the transaction identifierMethod Detail |
public abstract void scheduleCommand(DistributedRequestManager drm) throws java.sql.SQLException
drm
- a distributed request manager
java.sql.SQLException
- if an error occurs.public abstract java.lang.Object executeCommand(DistributedRequestManager drm) throws java.sql.SQLException
drm
- a distributed request manager
java.sql.SQLException
- if an error occurs.public long getTransactionId()
public boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |