Package playn.core
Class BatchImpl
java.lang.Object
playn.core.BatchImpl
- All Implemented Interfaces:
Storage.Batch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BatchImpl
-
-
Method Details
-
setItem
Description copied from interface:Storage.BatchAdds an update to the batch.- Specified by:
setItemin interfaceStorage.Batch
-
removeItem
Description copied from interface:Storage.BatchAdds an deletion to the batch.- Specified by:
removeItemin interfaceStorage.Batch
-
commit
public void commit()Description copied from interface:Storage.BatchCommits the batch, applying all queued changes. Attempts to callStorage.Batch.setItem(java.lang.String, java.lang.String)orStorage.Batch.removeItem(java.lang.String)after a call to this method will fail.- Specified by:
commitin interfaceStorage.Batch
-