Class DbRemoteDelegateImpl
- All Implemented Interfaces:
DbRemoteDelegate, RemoteDbDelegate, org.tentackle.trip.Remote
Remote delegate implementation for
Db.- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbegin(String txName, TransactionIsolation transactionIsolation, TransactionWritability transactionWritability) booleancommit(long txVoucher) long<T extends Serializable>
TgetProperty(String key) intvoidgroupWith(int sessionGroupId) booleanisAlive()voidreleaseSavepoint(SavepointHandle handle) booleanrollback(long txVoucher, boolean withLog) voidrollback(SavepointHandle handle) voidsetAlive(boolean alive) voidsetCountModificationAllowed(boolean flag) voidsetLogModificationAllowed(boolean flag) booleansetLogModificationDeferred(boolean flag) voidsetLogModificationTxEnabled(boolean flag) voidsetLogModificationTxId(long txId) <T extends Serializable>
TsetProperty(String key, T value) voidsetReadOnly(boolean flag) setSavepoint(String name) Methods inherited from class RemoteDbDelegateImpl
getServerSession, getServicedClass, getSession, initialize, toString
-
Constructor Details
-
DbRemoteDelegateImpl
-
-
Method Details
-
getSessionId
public int getSessionId()- Specified by:
getSessionIdin interfaceDbRemoteDelegate
-
groupWith
public void groupWith(int sessionGroupId) - Specified by:
groupWithin interfaceDbRemoteDelegate
-
isAlive
public boolean isAlive()- Specified by:
isAlivein interfaceDbRemoteDelegate
-
setAlive
public void setAlive(boolean alive) - Specified by:
setAlivein interfaceDbRemoteDelegate
-
commit
public boolean commit(long txVoucher) - Specified by:
commitin interfaceDbRemoteDelegate
-
rollback
public boolean rollback(long txVoucher, boolean withLog) - Specified by:
rollbackin interfaceDbRemoteDelegate
-
begin
public RemoteTransaction begin(String txName, TransactionIsolation transactionIsolation, TransactionWritability transactionWritability) - Specified by:
beginin interfaceDbRemoteDelegate
-
setSavepoint
- Specified by:
setSavepointin interfaceDbRemoteDelegate
-
setSavepoint
- Specified by:
setSavepointin interfaceDbRemoteDelegate
-
rollback
- Specified by:
rollbackin interfaceDbRemoteDelegate
-
releaseSavepoint
- Specified by:
releaseSavepointin interfaceDbRemoteDelegate
-
setReadOnly
public void setReadOnly(boolean flag) - Specified by:
setReadOnlyin interfaceDbRemoteDelegate
-
setCountModificationAllowed
public void setCountModificationAllowed(boolean flag) - Specified by:
setCountModificationAllowedin interfaceDbRemoteDelegate
-
setLogModificationAllowed
public void setLogModificationAllowed(boolean flag) - Specified by:
setLogModificationAllowedin interfaceDbRemoteDelegate
-
setLogModificationTxEnabled
public void setLogModificationTxEnabled(boolean flag) - Specified by:
setLogModificationTxEnabledin interfaceDbRemoteDelegate
-
setLogModificationTxId
public void setLogModificationTxId(long txId) - Specified by:
setLogModificationTxIdin interfaceDbRemoteDelegate
-
getLogModificationTxId
public long getLogModificationTxId()- Specified by:
getLogModificationTxIdin interfaceDbRemoteDelegate
-
setLogModificationDeferred
public boolean setLogModificationDeferred(boolean flag) - Specified by:
setLogModificationDeferredin interfaceDbRemoteDelegate
-
popModificationLogsOfTransaction
- Specified by:
popModificationLogsOfTransactionin interfaceDbRemoteDelegate
-
registerPersistenceVisitor
- Specified by:
registerPersistenceVisitorin interfaceDbRemoteDelegate
-
unregisterPersistenceVisitor
- Specified by:
unregisterPersistenceVisitorin interfaceDbRemoteDelegate
-
getPersistenceVisitors
- Specified by:
getPersistenceVisitorsin interfaceDbRemoteDelegate
-
setProperty
- Specified by:
setPropertyin interfaceDbRemoteDelegate
-
getProperty
- Specified by:
getPropertyin interfaceDbRemoteDelegate
-