I have a few questions concerning using RecordStore class in MIDP 2.0
specification. Questions concern my understanding of the notion of
atomicity of data record to RecordStore. In documents, it says that :
"Record store implementations ensure that all individual record store
operations are atomic, synchronous, and serialized, so no corruption
will occur with multiple accesses".
1. are the operations atomic when it comes to breakdowns? what happens
to the content of record if, duirng its updating (invoking setRecord,
addRecord), inwhich there were data, the power is cut off? will the
old(previous) data be stored or only new data will be preserved? is
thecontent somehow determined?
2. what happens if on opened and modified RecordStore, before closing
the application or in case of power cut off, the closeRecordStore()
won't be invoked?