|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A distributed (XA) transaction that can atomically commit the changes to multiple resource sets
,
each represented by a registered view set
.
Method Summary | |
---|---|
void |
add(CDOViewSet viewSet)
|
CDOXASavepoint |
getLastSavepoint()
|
boolean |
isAllowRequestFromTransactionEnabled()
Allow request that come from contains CDOTransaction . |
void |
remove(CDOViewSet viewSet)
|
void |
setAllowRequestFromTransactionEnabled(boolean allRequest)
see isAllowRequestFromTransactionEnabled() |
CDOXASavepoint |
setSavepoint()
Creates a save point in the CDOTransaction that can be used to roll back a part of the transaction
Save points do not involve the server side, everything is done on the client side. |
Methods inherited from interface org.eclipse.emf.cdo.transaction.CDOUserTransaction |
---|
commit, commit, rollback |
Method Detail |
---|
void add(CDOViewSet viewSet)
void remove(CDOViewSet viewSet)
void setAllowRequestFromTransactionEnabled(boolean allRequest)
isAllowRequestFromTransactionEnabled()
boolean isAllowRequestFromTransactionEnabled()
CDOTransaction
. Default value is true.
If the value is true, cdoTransaction.commit() will call xaTransaction.commit and all CDOXATransaction
part
of xaTransaction will be committed.
If the value is false, the user will receive an exception by calling cdoTransaction.commit(). The user can only
commit from CDOXATransaction
.
CDOXASavepoint setSavepoint()
CDOUserTransaction
CDOTransaction
that can be used to roll back a part of the transaction
Save points do not involve the server side, everything is done on the client side.
setSavepoint
in interface CDOUserTransaction
CDOXASavepoint getLastSavepoint()
getLastSavepoint
in interface CDOUserTransaction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |