This can be used when a bulk change fails in the middle. Note that unlike a real transaction, this will not roll back the state of the object.
The abort method can be called after the commit method, in which case this method does nothing. This is so that {@link BulkChange} can be used naturally in the try/finally block.
|
|
|
|
|
|
|
|
|
|
|
|
|
|