Module org.apache.jena.core
Package org.apache.jena.reasoner
Class BaseInfGraph.InfTransactionHandler
java.lang.Object
org.apache.jena.graph.impl.TransactionHandlerBase
org.apache.jena.reasoner.BaseInfGraph.InfTransactionHandler
- All Implemented Interfaces:
TransactionHandler
- Enclosing class:
- BaseInfGraph
public static class BaseInfGraph.InfTransactionHandler
extends TransactionHandlerBase
implements TransactionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()If transactions are supported and there is a transaction in progress, abort it.voidbegin()If transactions are supported, begin a new transaction.voidcommit()If transactions are supported and there is a transaction in progress, commit it.booleanDoes this handler support transactions at all?Methods inherited from class org.apache.jena.graph.impl.TransactionHandlerBase
calculate, calculateAlways, execute, executeAlwaysMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.graph.TransactionHandler
calculate, calculateAlways, execute, executeAlways
-
Constructor Details
-
InfTransactionHandler
-
-
Method Details
-
transactionsSupported
public boolean transactionsSupported()Description copied from interface:TransactionHandlerDoes this handler support transactions at all?- Specified by:
transactionsSupportedin interfaceTransactionHandler- Returns:
- true iff begin/abort/commit are implemented and make sense.
-
begin
public void begin()Description copied from interface:TransactionHandlerIf transactions are supported, begin a new transaction. If transactions are not supported, or they are but this transaction is nested and nested transactions are not supported, throw an UnsupportedOperationException.- Specified by:
beginin interfaceTransactionHandler
-
abort
public void abort()Description copied from interface:TransactionHandlerIf transactions are supported and there is a transaction in progress, abort it. If transactions are not supported, or there is no transaction in progress, throw an UnsupportedOperationException.- Specified by:
abortin interfaceTransactionHandler
-
commit
public void commit()Description copied from interface:TransactionHandlerIf transactions are supported and there is a transaction in progress, commit it. If transactions are not supported, , or there is no transaction in progress, throw an UnsupportedOperationException.- Specified by:
commitin interfaceTransactionHandler
-