public interface FailSafeTransaction
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction()
Begins a new transaction.
|
void |
commit()
Closes the transaction and commit the changes.
|
void |
restoreFile()
Ensure that the file accessed is in a coherent state.
|
void |
rollback()
Closes the transation and cancel the changes.
|
void restoreFile()
throws IllegalStateException,
IOException
IllegalStateException - if the file doesn't exists anymoreIOException - if an IOException occurs during the file restorationvoid beginTransaction()
throws IllegalStateException,
IOException
IllegalStateException - if the file doesn't exists anymoreIOException - if an IOException occurs during the transaction
creationvoid commit()
throws IllegalStateException,
IOException
IllegalStateException - if the file doesn't exists anymoreIOException - if an IOException occurs during the operationvoid rollback()
throws IllegalStateException,
IOException
IllegalStateException - if the file doesn't exists anymoreIOException - if an IOException occurs during the operationCopyright © 2022 jitsi.org. All rights reserved.