Package com.io7m.sunburst.inventory.api
Interface SBTransactionType
- All Superinterfaces:
AutoCloseable,SBTransactionCloseableType,SBTransactionReadableType,SBTransactionWritableType
The base type of transactions.
-
Method Summary
Methods inherited from interface com.io7m.sunburst.inventory.api.SBTransactionCloseableType
closeMethods inherited from interface com.io7m.sunburst.inventory.api.SBTransactionReadableType
blobFile, blobGet, blobList, blobsUnreferenced, packageGet, packages, packagesUpdatedSinceMethods inherited from interface com.io7m.sunburst.inventory.api.SBTransactionWritableType
blobAdd, blobRemove, packagePut
-
Method Details
-
rollback
Roll back the transaction.- Throws:
SBInventoryException- On errors
-
commit
Commit changes made by the transaction.- Throws:
SBInventoryException- On errors
-