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
void commit() throws CommitException
CommitException
will be thrown if the commit failed.CommitException
void close()
close
in interface AutoCloseable
Copyright © 2016 The Apache Software Foundation. All rights reserved.