public abstract class AbstractTransaction extends Object implements ITransaction
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERR_CLOSED |
protected static String |
ERR_THREAD |
protected boolean |
failed |
| Constructor and Description |
|---|
AbstractTransaction(IDBAccess dbAccess) |
| Modifier and Type | Method and Description |
|---|---|
void |
failure()
Marks this transaction as failed, which means that it will
unconditionally be rolled back when close() is called.
|
protected IDBAccess |
getDBAccess() |
boolean |
isClosed()
answer true if this transaction has been closed
|
protected boolean |
isMyThread()
answer true if the method is called from the same thread
this transaction was created in.
|
protected void |
setClosed() |
void |
setDomainInfoChanged() |
void |
setIntDomainAccess(IIntDomainAccess intDomainAccess) |
void |
setNoInfoNodeId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseprotected static final String ERR_CLOSED
protected static final String ERR_THREAD
protected boolean failed
public AbstractTransaction(IDBAccess dbAccess)
public void failure()
ITransactionfailure in interface ITransactionprotected IDBAccess getDBAccess()
protected boolean isMyThread()
protected void setClosed()
public boolean isClosed()
ITransactionisClosed in interface ITransactionpublic void setIntDomainAccess(IIntDomainAccess intDomainAccess)
public void setDomainInfoChanged()
public void setNoInfoNodeId()
Copyright © 2016. All rights reserved.