|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.transaction.support.ResourceHolderSupport org.openspaces.core.transaction.manager.JiniTransactionHolder
public class JiniTransactionHolder
A Jini transaction holder responsible for holding the current running transaction.
AbstractJiniTransactionManager
Constructor Summary | |
---|---|
JiniTransactionHolder(net.jini.core.transaction.Transaction.Created txCreated,
int isolationLevel,
net.jini.lease.LeaseRenewalManager leaseRenewalManager)
Constructs a new jini transaction holder. |
Method Summary | |
---|---|
int |
decRef()
|
int |
getIsolationLevel()
Returns the current transaction isolation level. |
net.jini.lease.LeaseRenewalManager |
getLeaseRenewalManager()
Returns the lease renewal manager associated with this transaction, can be null . |
net.jini.core.transaction.Transaction |
getTransaction()
Returns the Jini transaction object. |
net.jini.core.transaction.Transaction.Created |
getTxCreated()
Returns the Jini transaction created object. |
boolean |
hasLeaseRenewalManager()
Returns true if there is a lease renewal manager associated with this transaction |
boolean |
hasTransaction()
Returns true if there is an existing transaction held by this bean,
false if no transaction is in progress. |
int |
incRef()
|
boolean |
isDisableCommit()
|
boolean |
isDisableRollback()
|
void |
setDisableCommit(boolean disableCommit)
|
void |
setDisableRollback(boolean disableRollback)
|
Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport |
---|
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiniTransactionHolder(net.jini.core.transaction.Transaction.Created txCreated, int isolationLevel, net.jini.lease.LeaseRenewalManager leaseRenewalManager)
txCreated
- The Jini transaction created objectisolationLevel
- The isolation level that transaction is executed underleaseRenewalManager
- The lease renewal manager for the transaction (can be null
)Method Detail |
---|
public int incRef()
public int decRef()
public boolean isDisableRollback()
public void setDisableRollback(boolean disableRollback)
public boolean isDisableCommit()
public void setDisableCommit(boolean disableCommit)
public boolean hasTransaction()
true
if there is an existing transaction held by this bean,
false
if no transaction is in progress.
public net.jini.core.transaction.Transaction.Created getTxCreated()
null
.
public net.jini.core.transaction.Transaction getTransaction()
null
.
public int getIsolationLevel()
TransactionDefinition.getIsolationLevel()
values.
public boolean hasLeaseRenewalManager()
true
if there is a lease renewal manager associated with this transaction
public net.jini.lease.LeaseRenewalManager getLeaseRenewalManager()
null
.
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |