| com.hp.hpl.jena.graph.TransactionHandler
All known Subclasses: com.hp.hpl.jena.graph.impl.FileGraphTransactionHandler, com.hp.hpl.jena.graph.impl.TransactionHandlerBase,
TransactionHandler | public interface TransactionHandler (Code) | | Preliminary interface for graphs supporting transactions.
author: kers |
Method Summary | |
void | abort() If transactions are supported and there is a tranaction in progress, abort
it. | void | begin() If transactions are supported, begin a new transaction. | void | commit() If transactions are supported and there is a tranaction in progress, commit
it. | Object | executeInTransaction(Command c) If transactions are supported, execute the command c within a transaction
and return its result. | boolean | transactionsSupported() |
abort | void abort()(Code) | | If transactions are supported and there is a tranaction in progress, abort
it. If transactions are not supported, or there is no transaction in progress,
throw an UnsupportedOperationException.
|
begin | void begin()(Code) | | If transactions are supported, begin a new transaction. If tranactions are
not supported, or they are but this tranaction is nested and nested transactions
are not supported, throw an UnsupportedOperationException.
|
commit | void commit()(Code) | | If transactions are supported and there is a tranaction in progress, commit
it. If transactions are not supported, , or there is no transaction in progress,
throw an UnsupportedOperationException.
|
executeInTransaction | Object executeInTransaction(Command c)(Code) | | If transactions are supported, execute the command c within a transaction
and return its result. If not, throw an UnsupportedOperationException.
|
transactionsSupported | boolean transactionsSupported()(Code) | | Does this handler support transactions at all?
true iff begin/abort/commit are implemented and make sense. |
|
|