Package org.apache.jena.dboe.transaction
Class TransactionalWrapper
- java.lang.Object
-
- org.apache.jena.dboe.transaction.TransactionalWrapper
-
- All Implemented Interfaces:
Transactional,Transactional
public class TransactionalWrapper extends java.lang.Object implements Transactional
Wrapper forTransactional
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
Transactional.Promote
-
-
Constructor Summary
Constructors Constructor Description TransactionalWrapper(Transactional other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort()voidbegin(ReadWrite readWrite)voidbegin(TxnType type)voidcommit()voidend()booleanisInTransaction()booleanpromote(Transactional.Promote mode)ReadWritetransactionMode()TxnTypetransactionType()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jena.sparql.core.Transactional
begin, calc, calculate, calculateRead, calculateWrite, exec, execute, executeRead, executeWrite, promote
-
-
-
-
Constructor Detail
-
TransactionalWrapper
public TransactionalWrapper(Transactional other)
-
-
Method Detail
-
begin
public void begin(TxnType type)
- Specified by:
beginin interfaceTransactional
-
begin
public void begin(ReadWrite readWrite)
- Specified by:
beginin interfaceTransactional
-
promote
public boolean promote(Transactional.Promote mode)
- Specified by:
promotein interfaceTransactional
-
commit
public void commit()
- Specified by:
commitin interfaceTransactional
-
abort
public void abort()
- Specified by:
abortin interfaceTransactional
-
end
public void end()
- Specified by:
endin interfaceTransactional
-
transactionMode
public ReadWrite transactionMode()
- Specified by:
transactionModein interfaceTransactional
-
transactionType
public TxnType transactionType()
- Specified by:
transactionTypein interfaceTransactional
-
isInTransaction
public boolean isInTransaction()
- Specified by:
isInTransactionin interfaceTransactional
-
-