public interface Transaction extends TransactionBase, AutoCloseable
TransactionBase to include the commit() and close() methods as users
are responsible for committing and closing resources when using Transaction.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes resources
|
void |
commit()
Commits the transaction.
|
delete, delete, set, set, setWeakNotification, setWeakNotification, withReadLockvoid commit()
throws CommitException
CommitException will be thrown if the commit failed.CommitExceptionvoid close()
close in interface AutoCloseableCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.