- All Known Subinterfaces:
QuadTable
,TripleTable
,TupleTable<TupleType>
- All Known Implementing Classes:
HexTable
,OrderedTupleTable
,PMapQuadTable
,PMapTripleTable
,PMapTupleTable
,TriTable
public interface TransactionalComponent
Interface that encapsulates the transaction lifecycle for a component in a transaction.
This is the system interface.
Transactional
is the application view of a set of
collection of components that together provide transactions.-
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)void
Start either a READ or WRITE transactionvoid
commit()
Commit a transaction - finish the transaction and make any changes permanent (if a "write" transaction)void
end()
Finish the transaction - if a write transaction and commit() has not been called, then abort
-
Method Details
-
begin
Start either a READ or WRITE transaction -
commit
void commit()Commit a transaction - finish the transaction and make any changes permanent (if a "write" transaction) -
abort
void abort()Abort a transaction - finish the transaction and undo any changes (if a "write" transaction) -
end
void end()Finish the transaction - if a write transaction and commit() has not been called, then abort
-