|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlvBatchable
Interface to be implemented by classes that allow grouping modifications in
batches. A batch is a series of modifications.
Changes grouped in a batch are applied only after the batch is terminated by
a call to endBatch().
Batches can be nested. Changes in nested batches are applied only after the most enclosing batch is terminated:
batchable.startBatch(); batchable.startBatch(); batchable.modify(...); batchable.endBatch(); // No changes are applied yet batchable.endBatch(); // Changes are applied after this call
| Method Summary | |
|---|---|
void |
endBatch()
Terminates a batch of modifications. |
void |
startBatch()
Starts a batch of modifications. |
| Method Detail |
|---|
void startBatch()
endBatch() call.
void endBatch()
startBatch()
call should now be applied.
In the case of nested batches modifications are applied only after the most enclosing batch is terminated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||